nodejs-hands-on/templates/template/sum.test.js
2023-12-19 16:50:59 +09:00

7 lines
174 B
JavaScript

import assert from "node:assert";
import test from "node:test";
import sum from "./sum.js";
test("1と2の合計は3です", () => {
assert.strictEqual(sum(1, 2), 3);
});