diff --git a/frontend/test/Metamaps.Import.spec.js b/frontend/test/Metamaps.Import.spec.js index 59ab45e6..8dcf8e97 100644 --- a/frontend/test/Metamaps.Import.spec.js +++ b/frontend/test/Metamaps.Import.spec.js @@ -2,7 +2,7 @@ const chai = require('chai') const expect = chai.expect -const Metamaps = {} +Metamaps = {} require('../../app/assets/javascripts/src/Metamaps.Import') describe('Metamaps.Import.js', function () { diff --git a/package.json b/package.json index 9fe29143..0ad44676 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "webpack", "build:watch": "webpack --watch", - "test": "mocha frontend/test || echo 'Run `npm install` to setup testing'" + "test": "mocha frontend/test || (echo 'Run `npm install` to setup testing' && false)" }, "repository": { "type": "git",