We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d841c3 commit d4b359fCopy full SHA for d4b359f
test/AngularSpec.js
@@ -636,9 +636,9 @@ describe('angular', function() {
636
expect(dst.jqObject).not.toBe(src.jqObject);
637
638
expect(isElement(dst.element)).toBeTruthy();
639
- 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
640
expect(isElement(dst.jqObject)).toBeTruthy();
641
- 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
642
});
643
644
0 commit comments