Skip to content

Commit

Permalink
test(merge): fix check on jquery object
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Nov 2, 2015
1 parent 75292a6 commit fe11265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/AngularSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,9 +649,9 @@ describe('angular', function() {
expect(dst.jqObject).not.toBe(src.jqObject);

expect(isElement(dst.element)).toBeTruthy();
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
expect(isElement(dst.jqObject)).toBeTruthy();
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
});
});

Expand Down

0 comments on commit fe11265

Please sign in to comment.