We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbd15d9 commit f122d9bCopy full SHA for f122d9b
packages/node-http-handler/src/timing.ts
@@ -3,6 +3,6 @@
3
* For test spies.
4
*/
5
export const timing = {
6
- setTimeout: setTimeout.bind(this),
7
- clearTimeout: clearTimeout.bind(this),
+ setTimeout: (cb, timeout) => setTimeout(cb, timeout),
+ clearTimeout: (id) => clearTimeout(id),
8
};
0 commit comments