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