We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75292a6 commit fe11265Copy full SHA for fe11265
test/AngularSpec.js
@@ -649,9 +649,9 @@ describe('angular', function() {
649
expect(dst.jqObject).not.toBe(src.jqObject);
650
651
expect(isElement(dst.element)).toBeTruthy();
652
- expect(jqLite(dst.element)).not.toBe(dst.element); // i.e it is a DOM element
+ expect(dst.element.nodeName).toBeDefined(); // i.e it is a DOM element
653
expect(isElement(dst.jqObject)).toBeTruthy();
654
- expect(jqLite(dst.jqObject)).toBe(dst.jqObject); // i.e it is a jqLite/jquery object
+ expect(dst.jqObject.nodeName).toBeUndefined(dst.jqObject); // i.e it is a jqLite/jquery object
655
});
656
657
0 commit comments