diff --git a/packages/google-cloud-videointelligence/smoke-test/.eslintrc.yml b/packages/google-cloud-videointelligence/smoke-test/.eslintrc.yml index 69644b3bae0..3bc357436b8 100644 --- a/packages/google-cloud-videointelligence/smoke-test/.eslintrc.yml +++ b/packages/google-cloud-videointelligence/smoke-test/.eslintrc.yml @@ -1,5 +1,3 @@ --- -env: - mocha: true rules: no-undef: off diff --git a/packages/google-cloud-videointelligence/system-test/.eslintrc.yml b/packages/google-cloud-videointelligence/system-test/.eslintrc.yml index f9605165c0f..282535f55f6 100644 --- a/packages/google-cloud-videointelligence/system-test/.eslintrc.yml +++ b/packages/google-cloud-videointelligence/system-test/.eslintrc.yml @@ -1,5 +1,3 @@ --- -env: - mocha: true rules: no-console: off diff --git a/packages/google-cloud-videointelligence/system-test/video_intelligence_service_smoke_test.js b/packages/google-cloud-videointelligence/system-test/video_intelligence_service_smoke_test.js index 93ecf729e3e..ebe48556bd2 100644 --- a/packages/google-cloud-videointelligence/system-test/video_intelligence_service_smoke_test.js +++ b/packages/google-cloud-videointelligence/system-test/video_intelligence_service_smoke_test.js @@ -14,6 +14,8 @@ 'use strict'; +const {describe, it} = require('mocha'); + describe('VideoIntelligenceServiceSmokeTest', () => { it('successfully makes a call to the service', done => { const videoIntelligence = require('../src'); diff --git a/packages/google-cloud-videointelligence/test/.eslintrc.yml b/packages/google-cloud-videointelligence/test/.eslintrc.yml deleted file mode 100644 index 6db2a46c535..00000000000 --- a/packages/google-cloud-videointelligence/test/.eslintrc.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -env: - mocha: true diff --git a/packages/google-cloud-videointelligence/test/gapic-v1.js b/packages/google-cloud-videointelligence/test/gapic-v1.js index b8e48288276..2787834bd48 100644 --- a/packages/google-cloud-videointelligence/test/gapic-v1.js +++ b/packages/google-cloud-videointelligence/test/gapic-v1.js @@ -15,6 +15,7 @@ 'use strict'; const assert = require('assert'); +const {describe, it} = require('mocha'); const videoIntelligenceModule = require('../src'); diff --git a/packages/google-cloud-videointelligence/test/gapic-v1beta2.js b/packages/google-cloud-videointelligence/test/gapic-v1beta2.js index 20ec155ba9e..7eb10349cd0 100644 --- a/packages/google-cloud-videointelligence/test/gapic-v1beta2.js +++ b/packages/google-cloud-videointelligence/test/gapic-v1beta2.js @@ -15,6 +15,7 @@ 'use strict'; const assert = require('assert'); +const {describe, it} = require('mocha'); const videoIntelligenceModule = require('../src'); diff --git a/packages/google-cloud-videointelligence/test/gapic-v1p1beta1.js b/packages/google-cloud-videointelligence/test/gapic-v1p1beta1.js index aec9fe858f7..7ad4290b971 100644 --- a/packages/google-cloud-videointelligence/test/gapic-v1p1beta1.js +++ b/packages/google-cloud-videointelligence/test/gapic-v1p1beta1.js @@ -15,6 +15,7 @@ 'use strict'; const assert = require('assert'); +const {describe, it} = require('mocha'); const videoIntelligenceModule = require('../src'); diff --git a/packages/google-cloud-videointelligence/test/gapic-v1p2beta1.js b/packages/google-cloud-videointelligence/test/gapic-v1p2beta1.js index d7c132ddd77..20dc70f7bbf 100644 --- a/packages/google-cloud-videointelligence/test/gapic-v1p2beta1.js +++ b/packages/google-cloud-videointelligence/test/gapic-v1p2beta1.js @@ -15,6 +15,7 @@ 'use strict'; const assert = require('assert'); +const {describe, it} = require('mocha'); const videoIntelligenceModule = require('../src'); diff --git a/packages/google-cloud-videointelligence/test/gapic-v1p3beta1.js b/packages/google-cloud-videointelligence/test/gapic-v1p3beta1.js index cd2f1d4235c..40278f1b92e 100644 --- a/packages/google-cloud-videointelligence/test/gapic-v1p3beta1.js +++ b/packages/google-cloud-videointelligence/test/gapic-v1p3beta1.js @@ -15,6 +15,7 @@ 'use strict'; const assert = require('assert'); +const {describe, it} = require('mocha'); const {PassThrough} = require('stream'); const videoIntelligenceModule = require('../src');