Skip to content

Commit 2485218

Browse files
committed
chore: update crypto bench
1 parent 64bfe85 commit 2485218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto.bench.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { setup } from "./_test_util.ts";
44

55
const kv = await setup();
66

7-
const fixture = window.crypto.getRandomValues(new Uint8Array(65_536));
7+
const fixture = globalThis.crypto.getRandomValues(new Uint8Array(65_536));
88
const encryptionKey128 = generateKey(128);
99
const cryptoKv128 = new CryptoKv(kv, encryptionKey128);
1010
const encryptionKey192 = generateKey(192);

0 commit comments

Comments
 (0)