mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Fix strict mode test fail for es6 builds.
This commit is contained in:
@@ -3967,7 +3967,7 @@
|
|||||||
|
|
||||||
test('`_.' + methodName + '` should ' + (isStrict ? '' : 'not ') + 'throw strict mode errors', 1, function() {
|
test('`_.' + methodName + '` should ' + (isStrict ? '' : 'not ') + 'throw strict mode errors', 1, function() {
|
||||||
if (freeze) {
|
if (freeze) {
|
||||||
var object = { 'a': null, 'b': function() {} },
|
var object = { 'a': undefined, 'b': function() {} },
|
||||||
pass = !isStrict;
|
pass = !isStrict;
|
||||||
|
|
||||||
freeze(object);
|
freeze(object);
|
||||||
|
|||||||
Reference in New Issue
Block a user