Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Oct 31, 2020
1 parent 9730e09 commit 4d010f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jest
...jest.createMockFromModule('fs'),
ReadStream: jest.requireActual('fs').ReadStream,
WriteStream: jest.requireActual('fs').WriteStream,
readFileSync: jest.fn((path, options) => {
readFileSync: jest.fn(path => {
if (mockFs[path]) {
return mockFs[path];
}
Expand All @@ -38,7 +38,7 @@ jest
},
}))
.mock('jest-haste-map', () => ({
getCacheFilePath: (cacheDir, baseDir, version) => cacheDir + baseDir,
getCacheFilePath: (cacheDir, baseDir) => cacheDir + baseDir,
}))
.mock('jest-util', () => ({
...jest.requireActual('jest-util'),
Expand Down

0 comments on commit 4d010f3

Please sign in to comment.