mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Fix bizarro _.isElement test.
This commit is contained in:
@@ -5039,7 +5039,7 @@
|
||||
|
||||
test('should use a stronger check in browsers', 2, function() {
|
||||
var support = _.support,
|
||||
expected = !(support.dom && support.nodeClass);
|
||||
expected = !(support.dom && _.result(support, 'nodeClass', true));
|
||||
|
||||
strictEqual(_.isElement(new Element), expected);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user