Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
shtukas committed Dec 9, 2024
1 parent fb85a2f commit 964eb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/ticket-tailor-webhook/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ test('calls create guest account for new email addresses', async () => {

test('no call to create guest account for an existing email addresses', async () => {
jest.useFakeTimers().setSystemTime(new Date(validEpochSeconds * 1000)); //Date works in Epoch milli
fetchMock.mock(
fetchMock.route(
`https://idapi.code.dev-theguardian.com/user/type/${emailAddress}`,
new Response(JSON.stringify({ userType: 'current' })),
);
Expand Down

0 comments on commit 964eb90

Please sign in to comment.