Add fp tests to npm test.

This commit is contained in:
John-David Dalton
2016-01-15 01:21:59 -08:00
parent 1df18a3e10
commit 42e01fd37b
3 changed files with 5 additions and 1 deletions

View File

@@ -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"
}
}

View File

@@ -65,6 +65,8 @@
/*--------------------------------------------------------------------------*/
console.log('Running lodash/fp tests.');
QUnit.module('method aliases');
(function() {

View File

@@ -628,6 +628,8 @@
/*--------------------------------------------------------------------------*/
console.log('Running lodash tests.');
if (params) {
console.log('test.js invoked with arguments: ' + JSON.stringify(slice.call(params)));
}