jest-hands-on/templates/template/sum.test.js
2022-07-22 19:06:15 +09:00

5 lines
100 B
JavaScript

import sum from "./sum";
test("1と2の合計は3です", () => {
expect(sum(1, 2)).toBe(3);
});