Skip to content

Commit ef8f8b6

Browse files
committed
hash stability test
1 parent bdef8e9 commit ef8f8b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

client/src/crypto.test.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { assertEquals } from "https://deno.land/std@0.174.0/testing/asserts.ts";
2+
import { hash } from "./crypto.ts";
3+
4+
Deno.test("hash stability", () => assertEquals(hash("hello"), "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"));

0 commit comments

Comments
 (0)