Skip to content

Commit 139238b

Browse files
committed
Update sum-test.js
1 parent c621330 commit 139238b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/__tests__/sum-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
jest.dontMock('../sum'); // of jest.autoMockOff();
1+
jest.dontMock('../sum'); // or jest.autoMockOff();
22

33
var sum = require('../sum')['default'];
44

55
describe('sum', function () {
66
it('adds 1 + 2 to equal 3', function () {
77
expect(sum(1, 2)).toBe(3);
88
});
9-
});
9+
});

0 commit comments

Comments
 (0)