diff options
Diffstat (limited to '')
-rw-r--r-- | test/bun.js/web-crypto.test.ts | 4 |
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( |