Skip to content

Commit

Permalink
refactor: use explicit mocha imports (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and bcoe committed Dec 30, 2019
1 parent 5444a88 commit a6acd27
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/google-cloud-asset/samples/test/sample.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'use strict';

const {assert} = require('chai');
const {after, before, describe, it} = require('mocha');
const uuid = require('uuid');
const cp = require('child_process');
const {Storage} = require('@google-cloud/storage');
Expand Down
2 changes: 0 additions & 2 deletions packages/google-cloud-asset/system-test/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
env:
mocha: true
rules:
no-console: off
3 changes: 0 additions & 3 deletions packages/google-cloud-asset/test/.eslintrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions packages/google-cloud-asset/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 assetModule = require('../src');

Expand Down
1 change: 1 addition & 0 deletions packages/google-cloud-asset/test/gapic-v1beta1.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 assetModule = require('../src');

Expand Down
1 change: 1 addition & 0 deletions packages/google-cloud-asset/test/gapic-v1p2beta1.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 assetModule = require('../src');

Expand Down

0 comments on commit a6acd27

Please sign in to comment.