From c1b675ca4bfb739b809c0a64e9f2269821a61f1b Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 30 Dec 2019 10:26:44 -0800 Subject: [PATCH] refactor: use explicit mocha imports (#40) --- cloudbuild/system-test/.eslintrc.yml | 2 -- cloudbuild/system-test/samples.js | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cloudbuild/system-test/.eslintrc.yml b/cloudbuild/system-test/.eslintrc.yml index 29af919cd8..b1e44f8a75 100644 --- a/cloudbuild/system-test/.eslintrc.yml +++ b/cloudbuild/system-test/.eslintrc.yml @@ -1,5 +1,3 @@ --- -env: - mocha: true rules: node/no-extraneous-require: off diff --git a/cloudbuild/system-test/samples.js b/cloudbuild/system-test/samples.js index 73734d46c4..afdb0f8a81 100644 --- a/cloudbuild/system-test/samples.js +++ b/cloudbuild/system-test/samples.js @@ -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'});