mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Cleanup test files.
Former-commit-id: 3b138bc74c2f4c2c6d374893c0f90a8422a7248b
This commit is contained in:
@@ -32,9 +32,6 @@
|
||||
Object.keys = Object._keys;
|
||||
delete Object._keys;
|
||||
|
||||
// set to test `_.noConflict`
|
||||
_ = {};
|
||||
|
||||
// load Lo-Dash again to overwrite the existing `_` value
|
||||
document.write('<script src="../' + QUnit.config.lodashFilename + '.js"><\/script>');
|
||||
|
||||
|
||||
@@ -523,7 +523,7 @@
|
||||
var start = _.after(2, _.once(QUnit.start));
|
||||
|
||||
asyncTest(strictMode + ' should ' + (index ? 'error': 'silently fail') + ' attempting to overwrite read-only properties', function() {
|
||||
var commands = ['--silent', 'include=bindAll,defaults,extend'];
|
||||
var commands = ['-s', 'include=bindAll,defaults,extend'];
|
||||
if (index) {
|
||||
commands.push('strict');
|
||||
}
|
||||
@@ -557,7 +557,7 @@
|
||||
var start = _.once(QUnit.start);
|
||||
|
||||
asyncTest('should not have deep clone', function() {
|
||||
build(['--silent', 'underscore'], function(filepath, source) {
|
||||
build(['-s', 'underscore'], function(filepath, source) {
|
||||
vm.runInContext(source, context);
|
||||
|
||||
var array = [{ 'a': 1 }],
|
||||
|
||||
Reference in New Issue
Block a user