diff options
author | 2023-04-21 07:18:32 -0700 | |
---|---|---|
committer | 2023-04-21 07:18:32 -0700 | |
commit | 613bb4822ee8f4fbfd78aef391e2db8f07659a6f (patch) | |
tree | 0b93003e28ecf0cde1d9bc3c58fad4dabfa880b3 /test/js/node/crypto/crypto.test.ts | |
parent | a4d0a1961abe0c6073e15cc6f7c0601b74f2e3f7 (diff) | |
download | bun-613bb4822ee8f4fbfd78aef391e2db8f07659a6f.tar.gz bun-613bb4822ee8f4fbfd78aef391e2db8f07659a6f.tar.zst bun-613bb4822ee8f4fbfd78aef391e2db8f07659a6f.zip |
Revert "use a lazyily initialized stream for `node:crypto` `createHash` (#2652)"
This reverts commit 3a2fd65f20d3b4e99c89f789acec5e5e40615008.
Diffstat (limited to 'test/js/node/crypto/crypto.test.ts')
-rw-r--r-- | test/js/node/crypto/crypto.test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/js/node/crypto/crypto.test.ts b/test/js/node/crypto/crypto.test.ts index afec25813..b5b8e9286 100644 --- a/test/js/node/crypto/crypto.test.ts +++ b/test/js/node/crypto/crypto.test.ts @@ -1,5 +1,6 @@ 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]; |