Skip to content

Commit

Permalink
Using not.toBeNull instead of toBeDefined (it'll always be defined)
Browse files Browse the repository at this point in the history
  • Loading branch information
lathonez committed Feb 18, 2016
1 parent 07f60bf commit d8e1cf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/components/clickerButton/clickerButton.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function main() {
});

it('initialises', () => {
expect(clickerButton).toBeDefined();
expect(clickerButton).not.toBeNull();
});
});
}
2 changes: 1 addition & 1 deletion test/pages/clickerList/clickerList.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function main() {
});

it('initialises', () => {
expect(clickerList).toBeDefined();
expect(clickerList).not.toBeNull();
});
});
}

0 comments on commit d8e1cf5

Please sign in to comment.