mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Merge branch 'master' of github.com:bestiejs/lodash
Former-commit-id: a8dbad27cb89e403dbdafcc7cc69a397ae1e5bbd
This commit is contained in:
@@ -460,6 +460,40 @@
|
|||||||
|
|
||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
QUnit.module('independent builds');
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
asyncTest('debug only', function() {
|
||||||
|
build(['-d', '-s'], function(source, filepath) {
|
||||||
|
equal(path.basename(filepath, '.js'), 'lodash');
|
||||||
|
start();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncTest('debug custom', function () {
|
||||||
|
build(['-d', '-s', 'backbone'], function(source, filepath) {
|
||||||
|
equal(path.basename(filepath, '.js'), 'lodash.custom');
|
||||||
|
start();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncTest('minified only', function() {
|
||||||
|
build(['-m', '-s'], function(source, filepath) {
|
||||||
|
equal(path.basename(filepath, '.js'), 'lodash.min');
|
||||||
|
start();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncTest('minified custom', function () {
|
||||||
|
build(['-m', '-s', 'backbone'], function(source, filepath) {
|
||||||
|
equal(path.basename(filepath, '.js'), 'lodash.custom.min');
|
||||||
|
start();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}());
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
QUnit.module('strict modifier');
|
QUnit.module('strict modifier');
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user