From 42e01fd37b8c69aa86c222ffa93b5f9cce3947f1 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 15 Jan 2016 01:21:59 -0800 Subject: [PATCH] Add fp tests to `npm test`. --- package.json | 2 +- test/test-fp.js | 2 ++ test/test.js | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 80a1210b5..28600c221 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,6 @@ "scripts": { "build": "node lib/main/build.js && node lib/fp/build.js", "style": "jscs lodash.js lib/**/*.js", - "test": "node test/test" + "test": "npm run build && node test/test && node test/test-fp" } } diff --git a/test/test-fp.js b/test/test-fp.js index 293fb3993..3ee4e07e3 100644 --- a/test/test-fp.js +++ b/test/test-fp.js @@ -65,6 +65,8 @@ /*--------------------------------------------------------------------------*/ + console.log('Running lodash/fp tests.'); + QUnit.module('method aliases'); (function() { diff --git a/test/test.js b/test/test.js index 850a89869..eb2eb35e1 100644 --- a/test/test.js +++ b/test/test.js @@ -628,6 +628,8 @@ /*--------------------------------------------------------------------------*/ + console.log('Running lodash tests.'); + if (params) { console.log('test.js invoked with arguments: ' + JSON.stringify(slice.call(params))); }