12 lines
301 B
TypeScript
12 lines
301 B
TypeScript
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"),
|
|
),
|
|
);
|
|
});
|