From 311c197d71cecbd3f43e547014edd8cb6b6ecd8a Mon Sep 17 00:00:00 2001 From: Jamie Date: Sun, 25 Nov 2018 10:16:02 -0800 Subject: [PATCH] Fix snapshot skip interface --- index.d.ts | 2 +- index.js.flow | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index a17918142..ce2f48760 100644 --- a/index.d.ts +++ b/index.d.ts @@ -220,7 +220,7 @@ export interface SnapshotAssertion { skip(expected: any, message?: string): void; /** Skip this assertion. */ - (expected: any, options: SnapshotOptions, message?: string): void; + skip(expected: any, options: SnapshotOptions, message?: string): void; } export interface ThrowsAssertion { diff --git a/index.js.flow b/index.js.flow index 22f0eaadf..3c6c70f05 100644 --- a/index.js.flow +++ b/index.js.flow @@ -233,7 +233,7 @@ export interface SnapshotAssertion { skip(expected: any, message?: string): void; /** Skip this assertion. */ - (expected: any, options: SnapshotOptions, message?: string): void; + skip(expected: any, options: SnapshotOptions, message?: string): void; } export interface ThrowsAssertion {