From ae160c55eb8437e96b19b8696bfccee19d1e8320 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 30 Dec 2019 11:35:56 -0800 Subject: [PATCH] refactor: use explicit mocha imports --- container/snippets/system-test/.eslintrc.yml | 3 --- container/snippets/system-test/sample.test.js | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 container/snippets/system-test/.eslintrc.yml diff --git a/container/snippets/system-test/.eslintrc.yml b/container/snippets/system-test/.eslintrc.yml deleted file mode 100644 index 6db2a46c53..0000000000 --- a/container/snippets/system-test/.eslintrc.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -env: - mocha: true diff --git a/container/snippets/system-test/sample.test.js b/container/snippets/system-test/sample.test.js index 1871ac4220..5b4fd3ef97 100644 --- a/container/snippets/system-test/sample.test.js +++ b/container/snippets/system-test/sample.test.js @@ -15,6 +15,7 @@ 'use strict'; const {assert} = require('chai'); +const {describe, it} = require('mocha'); const cp = require('child_process'); const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});