UNPKG

761 BTypeScriptView Raw
1import 'jest-specific-snapshot';
2import { StoryshotsTestMethod, TestMethodOptions } from './api/StoryshotsOptions';
3declare type SnapshotsWithOptionsReturnType = (options: Pick<TestMethodOptions, 'story' | 'context' | 'renderTree' | 'snapshotFileName'>) => any;
4export declare function snapshotWithOptions(options?: {
5 renderer?: any;
6 serializer?: any;
7} | Function): SnapshotsWithOptionsReturnType;
8export declare function multiSnapshotWithOptions(options?: {}): StoryshotsTestMethod;
9export declare const shallowSnapshot: StoryshotsTestMethod;
10export declare function renderWithOptions(options?: {}): StoryshotsTestMethod;
11export declare const renderOnly: StoryshotsTestMethod;
12export declare const snapshot: SnapshotsWithOptionsReturnType;
13export {};