diff options
author | EuAndreh <eu@euandre.org> | 2024-10-21 07:39:46 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-10-21 17:17:17 -0300 |
commit | d45cf0d708bc739b6478e741c964da2e64e3d874 (patch) | |
tree | a62b03cb31f8f3fe9dc1f4b94ab8a0f5669bb5b3 /tests/papo.js | |
parent | src/content/img/: Add favicon and logo SVGs (diff) | |
download | chat.papo.im-d45cf0d708bc739b6478e741c964da2e64e3d874.tar.gz chat.papo.im-d45cf0d708bc739b6478e741c964da2e64e3d874.tar.xz |
Init work on offline support and tests
Diffstat (limited to 'tests/papo.js')
-rw-r--r-- | tests/papo.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/papo.js b/tests/papo.js new file mode 100644 index 0000000..188ca67 --- /dev/null +++ b/tests/papo.js @@ -0,0 +1,19 @@ +import { + f1, +} from "../src/content/papo.exported.js"; + + + +const test_f1 = async t => { + t.start("f1()"); + t.test("addition", () => { + t.assert.equal(f1(1), 2); + // t.assert.equal(f1(1), 3); + }); +}; + + + +export const allTests = [ + test_f1, +]; |