first-steps/sum.test.js

7 lines175 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

First steps1import { test } from "node:test";
2import assert from "node:assert/strict";
3import { sum } from "./sum.js";
4
5test("adds two numbers", () => {
6 assert.equal(sum(2, 3), 5);
7});