Skip to content

Commit 311c197

Browse files
jamiebuildsnovemberborn
authored andcommitted
Fix snapshot skip interface
1 parent 0e82b04 commit 311c197

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export interface SnapshotAssertion {
220220
skip(expected: any, message?: string): void;
221221

222222
/** Skip this assertion. */
223-
(expected: any, options: SnapshotOptions, message?: string): void;
223+
skip(expected: any, options: SnapshotOptions, message?: string): void;
224224
}
225225

226226
export interface ThrowsAssertion {

index.js.flow

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export interface SnapshotAssertion {
233233
skip(expected: any, message?: string): void;
234234

235235
/** Skip this assertion. */
236-
(expected: any, options: SnapshotOptions, message?: string): void;
236+
skip(expected: any, options: SnapshotOptions, message?: string): void;
237237
}
238238

239239
export interface ThrowsAssertion {

0 commit comments

Comments
 (0)