jest-snapshot-serializer-raw
Version:
jest snapshot serializer for reducing escapes in the snapshot file
13 lines (12 loc) • 330 B
TypeScript
declare const RAW: unique symbol;
export interface Wrapper {
[RAW]: string;
}
export declare function wrap(value: string): Wrapper;
declare function test(value: any): boolean;
declare function print(value: unknown): string;
declare const _default: {
test: typeof test;
print: typeof print;
};
export default _default;