Closed ekillops closed 4 years ago
Yeah, I can add that.
The test is updated and I verified that your addition causes the test to fail when the promise is not awaited
Thanks! npm run fmt
will fix up formatting, then this is good to merge 🚀
Fixed
Can you update the test case for this? Should be able to catch it by adding an
await delay(0)
before this line:https://github.com/connor4312/cockatiel/blob/7704a2537d0fb9423712b6276fa89c171b371946/src/TimeoutPolicy.test.ts#L33