Skip to content

Commit

Permalink
remove fromPromise type
Browse files Browse the repository at this point in the history
  • Loading branch information
bakamitai456 committed Jun 15, 2023
1 parent 6327019 commit 58acde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-snapshot/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ export const toThrowErrorMatchingInlineSnapshot: MatcherFunctionWithContext<
export const toThrowErrorMatchingNamedSnapshot: MatcherFunctionWithContext<
Context,
[snapshotName: string, fromPromise?: boolean]
> = function (received: unknown, snapshotName: unknown, fromPromise: unknown) {
> = function (received: unknown, snapshotName: unknown, fromPromise) {
const matcherName = 'toThrowErrorMatchingNamedSnapshot';

if (typeof snapshotName !== 'string') {
Expand Down

0 comments on commit 58acde3

Please sign in to comment.