From 3c309274a3b769401d8e01371053e1c0af3ebd0b Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 15 Jul 2015 19:07:08 +0200 Subject: [PATCH] package.json: Extract "test-browser" and "test-node" scripts --- package.json | 4 +++- tests/test.js | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 14c124e..bb85063 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,8 @@ "serve-static": "^1.7.1" }, "scripts": { - "test": "node tests/test.js" + "test-browser": "node tests/test.js", + "test-node": "node tests/node-tests.js", + "test": "npm run test-node && npm run test-browser" } } diff --git a/tests/test.js b/tests/test.js index 0a5e6a6..4961d4f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -1,5 +1,3 @@ -require('./node-tests.js'); - var connect = require('connect'); var serveStatic = require('serve-static'); var open = require('open');