Skip to content

Commit

Permalink
refactor: use explicit mocha imports (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and bcoe committed Dec 30, 2019
1 parent 56704ec commit eabd409
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/google-privacy-dlp/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
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('DlpServiceSmokeTest', () => {
it('successfully makes a call to the service', done => {
const dlp = require('../src');
Expand Down
3 changes: 0 additions & 3 deletions packages/google-privacy-dlp/test/.eslintrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions packages/google-privacy-dlp/test/gapic-v2.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 dlpModule = require('../src');

Expand Down

0 comments on commit eabd409

Please sign in to comment.