Skip to content

Commit

Permalink
feat: Add jest.setMock to the list of transformed jest functions (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
danez authored and fatfisz committed Oct 30, 2017
1 parent ba978d8 commit a7c04b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/normalizeOptions.js
Expand Up @@ -19,6 +19,7 @@ const defaultTransformedFunctions = [
'jest.unmock',
'jest.doMock',
'jest.dontMock',
'jest.setMock',
];

function isRegExp(string) {
Expand Down
1 change: 1 addition & 0 deletions test/call.test.js
Expand Up @@ -12,6 +12,7 @@ const calls = [
'jest.unmock',
'jest.doMock',
'jest.dontMock',
'jest.setMock',
];

describe('function and method calls', () => {
Expand Down

0 comments on commit a7c04b0

Please sign in to comment.