From cf048f94534b3b898ac7327ddba62170553cc634 Mon Sep 17 00:00:00 2001 From: Matt McFarland Date: Thu, 19 Oct 2017 10:15:23 -0400 Subject: [PATCH] remove babili, and use build step before running unit test --- package.json | 3 +-- test/parray.test.js | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index f496435..707efd7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build": "npm run clean ; browserify -e src/index.js -o dist/index.js -t [ babelify --presets [ es2015 ] ] -s PicoLambda", "test": "jasmine test/*.test.js", "test:chrome": "karma start karma.local.conf.js --browsers Chrome", - "test:remote": "npm run lint && BUILD=$(git rev-parse --short HEAD) karma start karma.conf.js", + "test:remote": "npm run build ; npm run lint && BUILD=$(git rev-parse --short HEAD) karma start karma.conf.js", "lint": "semistandard src/index.js test/test.js --fix | snazzy", "watch": "nodemon --exec 'jasmine' test/test.js" }, @@ -49,7 +49,6 @@ "devDependencies": { "babel-preset-es2015": "^6.24.1", "babelify": "^7.3.0", - "babili": "0.0.12", "install": "^0.10.1", "jasmine": "2.5.3", "jasmine-node": "1.14.5", diff --git a/test/parray.test.js b/test/parray.test.js index 68d0e0b..2eac9c8 100644 --- a/test/parray.test.js +++ b/test/parray.test.js @@ -19,9 +19,6 @@ function init () { parray: require('../src/index.js').parray, } } - return { - parray: window.PicoLambda.parray, - } } describe('api: concat', () => {