Skip to content

Commit 7620f43

Browse files
committed
chore(sq): gloablThis rather than global
1 parent 3a92c5d commit 7620f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nhsNotifyLambda/tests/notify.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {LOG_MESSAGES} from "@psu-common/utilities"
77

88
// Mock crypto.randomUUID
99
const mockUUID = "550e8400-e29b-41d4-a716-446655440000"
10-
global.crypto = {
10+
globalThis.crypto = {
1111
randomUUID: () => mockUUID
1212
} as unknown as Crypto
1313

0 commit comments

Comments
 (0)