We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c621330 commit 139238bCopy full SHA for 139238b
src/__tests__/sum-test.js
@@ -1,9 +1,9 @@
1
-jest.dontMock('../sum'); // of jest.autoMockOff();
+jest.dontMock('../sum'); // or jest.autoMockOff();
2
3
var sum = require('../sum')['default'];
4
5
describe('sum', function () {
6
it('adds 1 + 2 to equal 3', function () {
7
expect(sum(1, 2)).toBe(3);
8
});
9
-});
+});
0 commit comments