diff --git a/video-intelligence/.eslintrc.yml b/video-intelligence/.eslintrc.yml index f9605165c0..282535f55f 100644 --- a/video-intelligence/.eslintrc.yml +++ b/video-intelligence/.eslintrc.yml @@ -1,5 +1,3 @@ --- -env: - mocha: true rules: no-console: off diff --git a/video-intelligence/system-test/analyze-streaming-annotation-to-storage.test.js b/video-intelligence/system-test/analyze-streaming-annotation-to-storage.test.js index 1316287394..91c02ed973 100644 --- a/video-intelligence/system-test/analyze-streaming-annotation-to-storage.test.js +++ b/video-intelligence/system-test/analyze-streaming-annotation-to-storage.test.js @@ -16,6 +16,7 @@ const cp = require('child_process'); const {assert} = require('chai'); +const {describe, it} = require('mocha'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); const cmd = `node analyze-streaming-annotation-to-storage.js`; diff --git a/video-intelligence/system-test/analyze-streaming-automl-classification.test.js b/video-intelligence/system-test/analyze-streaming-automl-classification.test.js index 21e70ef23c..4957938202 100644 --- a/video-intelligence/system-test/analyze-streaming-automl-classification.test.js +++ b/video-intelligence/system-test/analyze-streaming-automl-classification.test.js @@ -16,6 +16,7 @@ const cp = require('child_process'); const {assert} = require('chai'); +const {describe, it} = require('mocha'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); diff --git a/video-intelligence/system-test/analyze-streaming-labels.test.js b/video-intelligence/system-test/analyze-streaming-labels.test.js index 0f3f8ec699..f2571cc7d1 100644 --- a/video-intelligence/system-test/analyze-streaming-labels.test.js +++ b/video-intelligence/system-test/analyze-streaming-labels.test.js @@ -16,6 +16,7 @@ const cp = require('child_process'); const {assert} = require('chai'); +const {describe, it} = require('mocha'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); diff --git a/video-intelligence/system-test/analyze-streaming-object.test.js b/video-intelligence/system-test/analyze-streaming-object.test.js index c7a7d07249..a492c4f7ac 100644 --- a/video-intelligence/system-test/analyze-streaming-object.test.js +++ b/video-intelligence/system-test/analyze-streaming-object.test.js @@ -16,6 +16,7 @@ const cp = require('child_process'); const {assert} = require('chai'); +const {describe, it} = require('mocha'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); diff --git a/video-intelligence/system-test/analyze-streaming-safe-search.test.js b/video-intelligence/system-test/analyze-streaming-safe-search.test.js index b920468dad..19559045c5 100644 --- a/video-intelligence/system-test/analyze-streaming-safe-search.test.js +++ b/video-intelligence/system-test/analyze-streaming-safe-search.test.js @@ -16,6 +16,7 @@ const cp = require('child_process'); const {assert} = require('chai'); +const {describe, it} = require('mocha'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); const cmd = `node analyze-streaming-safe-search.js`; diff --git a/video-intelligence/system-test/analyze-streaming-shot-change.test.js b/video-intelligence/system-test/analyze-streaming-shot-change.test.js index 245574dfb0..724349d48f 100644 --- a/video-intelligence/system-test/analyze-streaming-shot-change.test.js +++ b/video-intelligence/system-test/analyze-streaming-shot-change.test.js @@ -16,6 +16,7 @@ const cp = require('child_process'); const {assert} = require('chai'); +const {describe, it} = require('mocha'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); diff --git a/video-intelligence/system-test/analyze.test.js b/video-intelligence/system-test/analyze.test.js index 3d6d08a7a8..d382aa3669 100644 --- a/video-intelligence/system-test/analyze.test.js +++ b/video-intelligence/system-test/analyze.test.js @@ -17,6 +17,7 @@ 'use strict'; const {assert} = require('chai'); +const {describe, it} = require('mocha'); const cp = require('child_process'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); diff --git a/video-intelligence/system-test/analyze.v1p2beta1.test.js b/video-intelligence/system-test/analyze.v1p2beta1.test.js index cc1de67429..fb418ceabb 100644 --- a/video-intelligence/system-test/analyze.v1p2beta1.test.js +++ b/video-intelligence/system-test/analyze.v1p2beta1.test.js @@ -17,6 +17,7 @@ 'use strict'; const {assert} = require('chai'); +const {describe, it} = require('mocha'); const cp = require('child_process'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'}); diff --git a/video-intelligence/system-test/quickstart.test.js b/video-intelligence/system-test/quickstart.test.js index 7d250d492a..f61913cd49 100644 --- a/video-intelligence/system-test/quickstart.test.js +++ b/video-intelligence/system-test/quickstart.test.js @@ -16,6 +16,7 @@ const path = require('path'); const {assert} = require('chai'); +const {describe, it} = require('mocha'); const cp = require('child_process'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});