From 713063e578db5a56ef860792c2f96f637ad968f2 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sun, 7 Aug 2016 19:51:17 +0800 Subject: [PATCH] fix npm testing script - it will actually break travis now --- frontend/test/Metamaps.Import.spec.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",