mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
* 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> |
||
|---|---|---|
| .. | ||
| common | ||
| node | ||
| helpers.test.ts | ||