aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/web-crypto.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/web-crypto.test.ts')
-rw-r--r--test/bun.js/web-crypto.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bun.js/web-crypto.test.ts b/test/bun.js/web-crypto.test.ts
index 22f69f43b..72730f8ff 100644
--- a/test/bun.js/web-crypto.test.ts
+++ b/test/bun.js/web-crypto.test.ts
@@ -3,8 +3,8 @@ import { describe, expect, it } from "bun:test";
describe("Web Crypto", () => {
it("has globals", () => {
expect(crypto.subtle !== undefined).toBe(true);
- expect(CryptoKey !== undefined).toBe(true);
- expect(SubtleCrypto !== undefined).toBe(true);
+ expect(CryptoKey.name).toBe("CryptoKey");
+ expect(SubtleCrypto.name).toBe("SubtleCrypto");
});
it("should encrypt and decrypt", async () => {
const key = await crypto.subtle.generateKey(
-hoisted-script Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/packages/astro/src/runtime/server (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-05-30Content collections - fix `.json` collection errors (#7246)Gravatar Ben Holmes 4-7/+52
2023-05-30[ci] formatGravatar bholmesdev 4-5/+5
2023-05-30Markdoc - remove `$entry` variable (#7244)Gravatar Ben Holmes 16-257/+217
2023-05-30Markdoc: new README for Markdoc nodes (#7225)Gravatar Ben Holmes 1-46/+85
2023-05-30[ci] formatGravatar MoustaphaDev 1-1/+1
2023-05-30fix: prioritize dynamic prerendered routes over dynamic server routes (#7235)Gravatar Happydev 6-19/+361
2023-05-30[ci] formatGravatar matthewp 1-5/+8
2023-05-30Bug 6672 (#7062)Gravatar wulinsheng123 10-0/+138