Skip to content

Commit

Permalink
chore: make prettier happy
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Oct 7, 2022
1 parent 7e55a0c commit f578d82
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/jest-snapshot/src/__tests__/InlineSnapshots.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ jest.mock('prettier', () => {
],
...opts,
}),
getFileInfo: {sync: () => ({ignored: false, inferredParser: 'babel'})} as unknown as typeof prettier.getFileInfo,
resolveConfig: {sync: jest.fn()} as unknown as typeof prettier.resolveConfig,
getFileInfo: {
sync: () => ({ignored: false, inferredParser: 'babel'}),
} as unknown as typeof prettier.getFileInfo,
resolveConfig: {
sync: jest.fn(),
} as unknown as typeof prettier.resolveConfig,
version: realPrettier.version,
} as typeof prettier;
return mockPrettier;
Expand Down

0 comments on commit f578d82

Please sign in to comment.