aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/crypto.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/crypto.test.js')
-rw-r--r--test/bun.js/crypto.test.js25
1 files changed, 2 insertions, 23 deletions
diff --git a/test/bun.js/crypto.test.js b/test/bun.js/crypto.test.js
index 8b93dab64..b5b8e9286 100644
--- a/test/bun.js/crypto.test.js
+++ b/test/bun.js/crypto.test.js
@@ -1,29 +1,8 @@
-import {
- sha,
- MD5,
- MD4,
- SHA1,
- SHA224,
- SHA256,
- SHA384,
- SHA512,
- SHA512_256,
- gc,
- CryptoHasher,
-} from "bun";
+import { sha, MD5, MD4, SHA1, SHA224, SHA256, SHA384, SHA512, SHA512_256, gc, CryptoHasher } from "bun";
import { it, expect, describe } from "bun:test";
import { readFileSync } from "fs";
-const HashClasses = [
- MD5,
- MD4,
- SHA1,
- SHA224,
- SHA256,
- SHA384,
- SHA512,
- SHA512_256,
-];
+const HashClasses = [MD5, MD4, SHA1, SHA224, SHA256, SHA384, SHA512, SHA512_256];
describe("CryptoHasher", () => {
it("CryptoHasher.algorithms", () => {