From d45cf0d708bc739b6478e741c964da2e64e3d874 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 21 Oct 2024 07:39:46 -0300 Subject: Init work on offline support and tests --- tests/papo.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/papo.js (limited to 'tests/papo.js') 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, +]; -- cgit v1.2.3