Add test for _.noConflict.

This commit is contained in:
John-David Dalton
2014-12-21 17:36:34 -06:00
parent c78edf3fff
commit 0b1e2a6107

View File

@@ -8861,6 +8861,23 @@
/*--------------------------------------------------------------------------*/
QUnit.module('lodash.noConflict');
(function() {
test('should return the `lodash` function', 1, function() {
if (!isModularize) {
var oldDash = root._;
strictEqual(_.noConflict(), _);
root._ = oldDash;
}
else {
skipTest();
}
});
}());
/*--------------------------------------------------------------------------*/
QUnit.module('lodash.now');
(function() {