1
0
Fork 0
mirror of https://github.com/kou029w/jest-hands-on.git synced 2025-03-04 20:15:16 +00:00
jest-hands-on/templates/basic/notToBe.test.js

10 lines
237 B
JavaScript
Raw Normal View History

2021-07-27 10:54:21 +09:00
/** @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);
}
}
});