mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add options from cypress and jest-image-snapshot to cypress-image-snapshot * Use jest-image-snapshot from DefinitelyTyped * Don't use relative paths to DefinitelyTyped modules * Use TypeScript Version: 3.0 to match jest-image-snapshot * inline jest-image-snapshot * Don't use include * Add dom to tsconfig * Don't export MatchImageSnapshotOptions
11 lines
339 B
TypeScript
11 lines
339 B
TypeScript
import * as command from 'cypress-image-snapshot/command';
|
|
import { addMatchImageSnapshotPlugin } from 'cypress-image-snapshot/plugin';
|
|
|
|
// $ExpectType void
|
|
command.addMatchImageSnapshotCommand({
|
|
customSnapshotsDir: '../../test/cypress/snapshots',
|
|
scale: true,
|
|
});
|
|
|
|
addMatchImageSnapshotPlugin(() => null, {}); // $ExpectType void
|