diff options
author | 2023-04-14 00:55:01 -0400 | |
---|---|---|
committer | 2023-04-13 21:55:01 -0700 | |
commit | 3a2fd65f20d3b4e99c89f789acec5e5e40615008 (patch) | |
tree | d0491f57d2f612aaec638f52bdb36155e5b3bdde /test/js/node/crypto/crypto.test.ts | |
parent | 267a38f6fc226156a50292945a697308e7201e69 (diff) | |
download | bun-3a2fd65f20d3b4e99c89f789acec5e5e40615008.tar.gz bun-3a2fd65f20d3b4e99c89f789acec5e5e40615008.tar.zst bun-3a2fd65f20d3b4e99c89f789acec5e5e40615008.zip |
use a lazyily initialized stream for `node:crypto` `createHash` (#2652)
* lazy hash
* finish up crypto stuff
* remove lockfiles
* ok
* add pipe test
* update this lockfile
* remove unrelated crypto benchmark from this file
Diffstat (limited to 'test/js/node/crypto/crypto.test.ts')
-rw-r--r-- | test/js/node/crypto/crypto.test.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/js/node/crypto/crypto.test.ts b/test/js/node/crypto/crypto.test.ts index b5b8e9286..afec25813 100644 --- a/test/js/node/crypto/crypto.test.ts +++ b/test/js/node/crypto/crypto.test.ts @@ -1,6 +1,5 @@ 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]; |