diff --git a/packages/google-cloud-asset/samples/test/sample.test.js b/packages/google-cloud-asset/samples/test/sample.test.js index a7d73beb5e7..5f2cd1ccc4e 100644 --- a/packages/google-cloud-asset/samples/test/sample.test.js +++ b/packages/google-cloud-asset/samples/test/sample.test.js @@ -15,6 +15,7 @@ 'use strict'; const {assert} = require('chai'); +const {after, before, describe, it} = require('mocha'); const uuid = require('uuid'); const cp = require('child_process'); const {Storage} = require('@google-cloud/storage'); diff --git a/packages/google-cloud-asset/system-test/.eslintrc.yml b/packages/google-cloud-asset/system-test/.eslintrc.yml index f9605165c0f..282535f55f6 100644 --- a/packages/google-cloud-asset/system-test/.eslintrc.yml +++ b/packages/google-cloud-asset/system-test/.eslintrc.yml @@ -1,5 +1,3 @@ --- -env: - mocha: true rules: no-console: off diff --git a/packages/google-cloud-asset/test/.eslintrc.yml b/packages/google-cloud-asset/test/.eslintrc.yml deleted file mode 100644 index 6db2a46c535..00000000000 --- a/packages/google-cloud-asset/test/.eslintrc.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -env: - mocha: true diff --git a/packages/google-cloud-asset/test/gapic-v1.js b/packages/google-cloud-asset/test/gapic-v1.js index d0198ef6bfa..519f9a53cfd 100644 --- a/packages/google-cloud-asset/test/gapic-v1.js +++ b/packages/google-cloud-asset/test/gapic-v1.js @@ -15,6 +15,7 @@ 'use strict'; const assert = require('assert'); +const {describe, it} = require('mocha'); const assetModule = require('../src'); diff --git a/packages/google-cloud-asset/test/gapic-v1beta1.js b/packages/google-cloud-asset/test/gapic-v1beta1.js index c30f666dcef..d7f8f74405d 100644 --- a/packages/google-cloud-asset/test/gapic-v1beta1.js +++ b/packages/google-cloud-asset/test/gapic-v1beta1.js @@ -15,6 +15,7 @@ 'use strict'; const assert = require('assert'); +const {describe, it} = require('mocha'); const assetModule = require('../src'); diff --git a/packages/google-cloud-asset/test/gapic-v1p2beta1.js b/packages/google-cloud-asset/test/gapic-v1p2beta1.js index c82d95e591c..e1fbc7d46dc 100644 --- a/packages/google-cloud-asset/test/gapic-v1p2beta1.js +++ b/packages/google-cloud-asset/test/gapic-v1p2beta1.js @@ -15,6 +15,7 @@ 'use strict'; const assert = require('assert'); +const {describe, it} = require('mocha'); const assetModule = require('../src');