updates
This commit is contained in:
11
libraries/deno-teencrypt-mod.test.ts
Normal file
11
libraries/deno-teencrypt-mod.test.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import {assertEquals} from "jsr:@std/assert";
|
||||
import {teDecryptToString, teEncrypt} from "./deno-teencrypt-mod.ts";
|
||||
|
||||
Deno.test("teEncryptDecrypt", async () => {
|
||||
assertEquals(
|
||||
"hello world",
|
||||
await teDecryptToString(
|
||||
await teEncrypt("hello world"),
|
||||
),
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user