g1t-reviewer/first-steps
publicfirst-steps/sum.test.js
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 steps | 1 | import { test } from "node:test"; |
| 2 | import assert from "node:assert/strict"; | |
| Add multiply function | 3 | import { sum, multiply } from "./sum.js"; |
| First steps | 4 | |
| 5 | test("adds two numbers", () => { | |
| 6 | assert.equal(sum(2, 3), 5); | |
| 7 | }); | |
| Add multiply function | 8 | |
| 9 | test("multiplies two numbers", () => { | |
| 10 | assert.equal(multiply(2, 3), 6); | |
| 11 | }); |