18ff99693b
* refactor(heart): extract logic into heartbeatTimer fn To make it easier to test, I extract heartbeatTimer into it's own function. * feat(testing): add tests for heart.ts * fixup * fixup!: remove unneeded heart call * Update src/node/heart.ts Co-authored-by: Asher <ash@coder.com> * fixup!: use mockResolvedValue everywhere * fixup!: add stat test for timestamp check Co-authored-by: Asher <ash@coder.com> |
||
---|---|---|
.. | ||
routes | ||
test-plugin | ||
app.test.ts | ||
cli.test.ts | ||
constants.test.ts | ||
heart.test.ts | ||
http.test.ts | ||
plugin.test.ts | ||
proxy.test.ts | ||
settings.test.ts | ||
socket.test.ts | ||
update.test.ts | ||
util.test.ts |