Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d4b359f

Browse files
test(merge): fix check on jquery object
1 parent 8d841c3 commit d4b359f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/AngularSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -636,9 +636,9 @@ describe('angular', function() {
636636
expect(dst.jqObject).not.toBe(src.jqObject);
637637

638638
expect(isElement(dst.element)).toBeTruthy();
639-
expect(jqLite(dst.element)).not.toBe(dst.element); // i.e it is a DOM element
639+
expect(dst.element.nodeName).toBeDefined(); // i.e it is a DOM element
640640
expect(isElement(dst.jqObject)).toBeTruthy();
641-
expect(jqLite(dst.jqObject)).toBe(dst.jqObject); // i.e it is a jqLite/jquery object
641+
expect(dst.jqObject.nodeName).toBeUndefined(dst.jqObject); // i.e it is a jqLite/jquery object
642642
});
643643
});
644644

0 commit comments

Comments
 (0)