Skip to content

Commit 358b614

Browse files
committed
reset
1 parent bc698c3 commit 358b614

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/meteor/tests/end-to-end/teardown.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let lastUrl: string;
88
let lastMethod: string;
99
let lastBody: unknown;
1010
let lastQuery: unknown;
11-
let lastResponse: Response;
11+
let lastResponse: Response | undefined;
1212

1313
methods.forEach((method) => {
1414
const original = request[method];
@@ -17,6 +17,7 @@ methods.forEach((method) => {
1717
lastMethod = method;
1818
lastBody = undefined;
1919
lastQuery = undefined;
20+
lastResponse = undefined;
2021

2122
const test = original(url);
2223
const originalSend = test.send.bind(test);

0 commit comments

Comments
 (0)