mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Add fp tests to npm test.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,6 +65,8 @@
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
console.log('Running lodash/fp tests.');
|
||||
|
||||
QUnit.module('method aliases');
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -628,6 +628,8 @@
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
console.log('Running lodash tests.');
|
||||
|
||||
if (params) {
|
||||
console.log('test.js invoked with arguments: ' + JSON.stringify(slice.call(params)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user