jest-file-snapshot
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -5,14 +5,28 @@ /// <reference types="jest" /> | ||
declare type FileMatcherOptions = { | ||
diff: DiffOptions | ||
declare module 'jest-file-snapshot' { | ||
export const toMatchFile: jest.CustomMatcher; | ||
} | ||
declare namespace jest { | ||
interface Matchers<R> { | ||
toMatchFile: (output: string, filename?: string, options?: FileMatcherOptions) => void | ||
} | ||
declare interface FileMatcherOptions { | ||
diff: DiffOptions; | ||
} | ||
interface Expect { | ||
toMatchFile: (output: string, filename?: string, options?: FileMatcherOptions) => void | ||
declare global { | ||
namespace jest { | ||
interface Matchers<R> { | ||
toMatchFile: ( | ||
output: string, | ||
filename?: string, | ||
options?: FileMatcherOptions | ||
) => void; | ||
} | ||
interface Expect { | ||
toMatchFile: ( | ||
output: string, | ||
filename?: string, | ||
options?: FileMatcherOptions | ||
) => void; | ||
} | ||
} | ||
} |
{ | ||
"name": "jest-file-snapshot", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6813
128