Skip to content

Commit

Permalink
refactor(jest-snapshot): clean up argument typings of internal `print…
Browse files Browse the repository at this point in the history
…SnapshotAndReceived()` function (#13410)
  • Loading branch information
mrazauskas authored Oct 8, 2022
1 parent be8a3ae commit 2dd05f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-snapshot/src/printSnapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const printSnapshotAndReceived = (
b: string, // received serialized but without extra line breaks
received: unknown,
expand: boolean, // CLI options: true if `--expand` or false if `--no-expand`
snapshotFormat: SnapshotFormat,
snapshotFormat?: SnapshotFormat,
): string => {
const aAnnotation = 'Snapshot';
const bAnnotation = 'Received';
Expand Down

0 comments on commit 2dd05f4

Please sign in to comment.