Skip to content

Commit

Permalink
Use correct type for snapshotState
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeliog committed Jul 2, 2019
1 parent 2d997e6 commit 8f103bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/expect/src/types.ts
Expand Up @@ -6,6 +6,7 @@
*
*/
import {Config} from '@jest/types';
import {SnapshotStateType} from 'jest-snapshot';
import * as jestMatcherUtils from 'jest-matcher-utils';
import {INTERNAL_MATCHER_FLAG} from './jestMatchersObject';

Expand Down Expand Up @@ -44,7 +45,7 @@ export type MatcherState = {
isExpectingAssertions?: boolean;
isNot: boolean;
promise: string;
snapshotState: any;
snapshotState: SnapshotStateType;
suppressedErrors: Array<Error>;
testPath?: Config.Path;
utils: typeof jestMatcherUtils & {
Expand Down

0 comments on commit 8f103bd

Please sign in to comment.