mirror of
https://github.com/kou029w/jest-hands-on.git
synced 2025-01-31 22:08:00 +00:00
5 lines
100 B
JavaScript
5 lines
100 B
JavaScript
import sum from "./sum";
|
|
|
|
test("1と2の合計は3です", () => {
|
|
expect(sum(1, 2)).toBe(3);
|
|
});
|