Skip to content

Commit fa309ac

Browse files
petebacondarwingkalpak
authored andcommitted
test(merge): fix check on jquery object
1 parent 6fa6cd4 commit fa309ac

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
@@ -649,9 +649,9 @@ describe('angular', function() {
649649
expect(dst.jqObject).not.toBe(src.jqObject);
650650

651651
expect(isElement(dst.element)).toBeTruthy();
652-
expect(jqLite(dst.element)).not.toBe(dst.element); // i.e it is a DOM element
652+
expect(dst.element.nodeName).toBeDefined(); // i.e it is a DOM element
653653
expect(isElement(dst.jqObject)).toBeTruthy();
654-
expect(jqLite(dst.jqObject)).toBe(dst.jqObject); // i.e it is a jqLite/jquery object
654+
expect(dst.jqObject.nodeName).toBeUndefined(dst.jqObject); // i.e it is a jqLite/jquery object
655655
});
656656
});
657657

0 commit comments

Comments
 (0)