Skip to content

Commit

Permalink
refactor: use explicit mocha imports (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Jan 3, 2020
1 parent 257e6c0 commit adbb7d6
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
env:
mocha: true
rules:
no-undef: off
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
env:
mocha: true
rules:
no-console: off
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
3 changes: 0 additions & 3 deletions packages/google-cloud-videointelligence/test/.eslintrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions packages/google-cloud-videointelligence/test/gapic-v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'use strict';

const assert = require('assert');
const {describe, it} = require('mocha');

const videoIntelligenceModule = require('../src');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'use strict';

const assert = require('assert');
const {describe, it} = require('mocha');

const videoIntelligenceModule = require('../src');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'use strict';

const assert = require('assert');
const {describe, it} = require('mocha');

const videoIntelligenceModule = require('../src');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'use strict';

const assert = require('assert');
const {describe, it} = require('mocha');

const videoIntelligenceModule = require('../src');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'use strict';

const assert = require('assert');
const {describe, it} = require('mocha');
const {PassThrough} = require('stream');

const videoIntelligenceModule = require('../src');
Expand Down

0 comments on commit adbb7d6

Please sign in to comment.