1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 22:08:02 +00:00
_/jest/foo.test.js
2021-04-13 18:37:49 +09:00

9 lines
164 B
JavaScript

import foo from "./foo.js";
test("positive number", () => {
expect(foo(1)).toBe(1);
});
// test("negative number", () => {
// expect(foo(-1)).toBe(0);
// });