Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 78fa966

Browse files
author
Kamil Kisiela
committed
test(messages): fix order checking
1 parent 01026ac commit 78fa966

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/wrappers/messages-spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ describe("formlyMaterial - messages wrapper", () => {
5555

5656
it("should be after the field", () => {
5757
expect(element.find('md-checkbox').length).toBe(0);
58-
expect(element.before('[ng-messages]').length).toBe(1);
58+
// expect(element.before('[ng-messages]').length).toBe(1);
59+
expect(element.prev('.ng-scope').children('md-checkbox').length).toBe(1);
5960
});
6061

6162
});

0 commit comments

Comments
 (0)