Skip to content

Commit 1b712e2

Browse files
committed
added filePath in Mock Response
1 parent 08543b6 commit 1b712e2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build/types/mock.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ export interface Response {
2121
[key: string]: string;
2222
};
2323
body: string;
24+
filepath?: string;
2425
}

src/types/mock.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ export interface Response {
2424
statusCode: number // TODO: Change this to list of acceptable status codes
2525
headers: {[key: string]: string}
2626
body: string
27+
filepath?: string,
2728
// rules: []
2829
}

0 commit comments

Comments
 (0)