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