add test infra and a basic record integration test
This commit is contained in:
26
test.d.ts
vendored
Normal file
26
test.d.ts
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
declare module 'rollup-plugin-typescript' {
|
||||
function typescript(): any;
|
||||
export = typescript;
|
||||
}
|
||||
|
||||
declare module 'rollup-plugin-node-resolve' {
|
||||
function resolve(): any;
|
||||
export = resolve;
|
||||
}
|
||||
|
||||
declare module 'jest-snapshot' {
|
||||
export class SnapshotState {
|
||||
constructor(testFile: string, options: any);
|
||||
|
||||
save(): any;
|
||||
}
|
||||
type matchResult = {
|
||||
pass: boolean;
|
||||
report(): string;
|
||||
};
|
||||
export function toMatchSnapshot(
|
||||
received: any,
|
||||
propertyMatchers?: any,
|
||||
testName?: string,
|
||||
): matchResult;
|
||||
}
|
||||
Reference in New Issue
Block a user