Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CR feedback, use toBeUndefined.
  • Loading branch information
skrivle committed Oct 7, 2017
commit 22c673a83f4ec674f4e1c251b99d7c4a02ce0027
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ describe('NodeEnvironment', () => {
const timer2 = env1.global.setInterval(() => {}, 0);

[timer1, timer2].forEach(timer => {
expect(timer.id).not.toBe(undefined);
expect(timer.ref).not.toBe(undefined);
expect(timer.unref).not.toBe(undefined);
expect(timer.id).not.toBeUndefined();
expect(timer.ref).not.toBeUndefined();
expect(timer.unref).not.toBeUndefined();
});
});
});