fix npm testing script - it will actually break travis now

This commit is contained in:
Devin Howard 2016-08-07 19:51:17 +08:00
parent b66b75615a
commit 713063e578
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
const chai = require('chai') const chai = require('chai')
const expect = chai.expect const expect = chai.expect
const Metamaps = {} Metamaps = {}
require('../../app/assets/javascripts/src/Metamaps.Import') require('../../app/assets/javascripts/src/Metamaps.Import')
describe('Metamaps.Import.js', function () { describe('Metamaps.Import.js', function () {

View file

@ -5,7 +5,7 @@
"scripts": { "scripts": {
"build": "webpack", "build": "webpack",
"build:watch": "webpack --watch", "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": { "repository": {
"type": "git", "type": "git",