Skip to content

Commit

Permalink
refactor: use explicit mocha imports (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and Ace Nassri committed Nov 17, 2022
1 parent 078b897 commit d4b2840
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions speech/system-test/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
env:
mocha: true
rules:
node/no-unpublished-require: off
node/no-unsupported-features: off
Expand Down
1 change: 1 addition & 0 deletions speech/system-test/MicrophoneStream.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'});
Expand Down
1 change: 1 addition & 0 deletions speech/system-test/betaFeatures.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'});
Expand Down
1 change: 1 addition & 0 deletions speech/system-test/quickstart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,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'});
Expand Down
1 change: 1 addition & 0 deletions speech/system-test/recognize.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
const path = require('path');
const {Storage} = require('@google-cloud/storage');
const {assert} = require('chai');
const {describe, it, before, after} = require('mocha');
const uuid = require('uuid');
const cp = require('child_process');

Expand Down
1 change: 1 addition & 0 deletions speech/system-test/recognize.v1p1beta1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'});
Expand Down

0 comments on commit d4b2840

Please sign in to comment.