jest-hands-on/templates/basic/notToBe.test.js
2022-02-24 17:06:32 +09:00

9 lines
237 B
JavaScript

/** @license https://github.com/facebook/jest/blob/master/LICENSE */
test("adding positive numbers is not zero", () => {
for (let a = 1; a < 10; a++) {
for (let b = 1; b < 10; b++) {
expect(a + b).not.toBe(0);
}
}
});