Skip to content

Commit bdadf05

Browse files
JustinBeckwithAce Nassri
authored and
Ace Nassri
committed
refactor: use explicit mocha imports (#341)
1 parent c388abf commit bdadf05

10 files changed

+9
-2
lines changed

video-intelligence/.eslintrc.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
---
2-
env:
3-
mocha: true
42
rules:
53
no-console: off

video-intelligence/system-test/analyze-streaming-annotation-to-storage.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
const cp = require('child_process');
1818
const {assert} = require('chai');
19+
const {describe, it} = require('mocha');
1920
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2021

2122
const cmd = `node analyze-streaming-annotation-to-storage.js`;

video-intelligence/system-test/analyze-streaming-automl-classification.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
const cp = require('child_process');
1818
const {assert} = require('chai');
19+
const {describe, it} = require('mocha');
1920

2021
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2122

video-intelligence/system-test/analyze-streaming-labels.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
const cp = require('child_process');
1818
const {assert} = require('chai');
19+
const {describe, it} = require('mocha');
1920

2021
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2122

video-intelligence/system-test/analyze-streaming-object.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
const cp = require('child_process');
1818
const {assert} = require('chai');
19+
const {describe, it} = require('mocha');
1920

2021
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2122

video-intelligence/system-test/analyze-streaming-safe-search.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
const cp = require('child_process');
1818
const {assert} = require('chai');
19+
const {describe, it} = require('mocha');
1920
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2021

2122
const cmd = `node analyze-streaming-safe-search.js`;

video-intelligence/system-test/analyze-streaming-shot-change.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
const cp = require('child_process');
1818
const {assert} = require('chai');
19+
const {describe, it} = require('mocha');
1920

2021
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2122

video-intelligence/system-test/analyze.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
'use strict';
1818

1919
const {assert} = require('chai');
20+
const {describe, it} = require('mocha');
2021
const cp = require('child_process');
2122

2223
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});

video-intelligence/system-test/analyze.v1p2beta1.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
'use strict';
1818

1919
const {assert} = require('chai');
20+
const {describe, it} = require('mocha');
2021
const cp = require('child_process');
2122

2223
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});

video-intelligence/system-test/quickstart.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
const path = require('path');
1818
const {assert} = require('chai');
19+
const {describe, it} = require('mocha');
1920
const cp = require('child_process');
2021

2122
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});

0 commit comments

Comments
 (0)