nodejs-hands-on/templates/template/sum.test.js

8 lines
174 B
JavaScript
Raw Normal View History

2023-12-19 16:50:59 +09:00
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);
});