diff options
Diffstat (limited to 'test/bun.js/node-crypto.test.js')
-rw-r--r-- | test/bun.js/node-crypto.test.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/bun.js/node-crypto.test.js b/test/bun.js/node-crypto.test.js index 151a06198..5d9d6a77d 100644 --- a/test/bun.js/node-crypto.test.js +++ b/test/bun.js/node-crypto.test.js @@ -17,10 +17,7 @@ it("crypto.createHash ", () => { }); it("crypto.createHmac", () => { - const result = crypto - .createHmac("sha256", "key") - .update("message") - .digest("base64"); + const result = crypto.createHmac("sha256", "key").update("message").digest("base64"); expect(result).toBe("bp7ym3X//Ft6uuUn1Y/a2y/kLnIZARl2kXNDBl9Y7Uo="); }); |