mirror of
https://github.com/kou029w/nodejs-hands-on.git
synced 2025-01-19 00:17:59 +00:00
7 lines
174 B
JavaScript
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);
|
|
});
|