Skip to content

Commit

Permalink
update jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Nov 3, 2021
1 parent d4ee040 commit 6a446fb
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,12 @@ describe('on page mount', () => {
})
)}`
);
expect(spy).toHaveBeenCalledWith({
num: 2,
});
expect(spy).toHaveBeenCalledWith(
{
num: 2,
},
{ replace: true }
);
});

test('throws if locator does not exist', async () => {
Expand Down

0 comments on commit 6a446fb

Please sign in to comment.