Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/src/node
Joe Previte 18ff99693b
feat: add tests for node/heart.ts (#5122)
* 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>
2022-04-26 16:35:40 +00:00
..
routes chore: move to patches (#4997) 2022-03-22 15:07:14 -05:00
app.ts feat(testing): add test for app > listen (#4971) 2022-03-11 16:54:59 -07:00
cli.ts feat: add option for disabling file downloads (#5055) 2022-04-13 09:39:05 -07:00
coder_cloud.ts docs: Update some more links (#4806) 2022-02-01 09:45:19 -07:00
constants.ts chore: move Code to a submodule (#4990) 2022-03-14 21:37:29 -05:00
entry.ts chore: move to patches (#4997) 2022-03-22 15:07:14 -05:00
heart.ts feat: add tests for node/heart.ts (#5122) 2022-04-26 16:35:40 +00:00
http.ts feat(http): keep slashes in queryParams in redirects (#4928) 2022-03-01 12:11:56 -07:00
main.ts chore: move to patches (#4997) 2022-03-22 15:07:14 -05:00
plugin.ts Refactor vscode endpoints to use fork directly. 2021-09-30 19:14:17 -04:00
proxy.ts Update proxy path passthrough documentation 2021-02-05 11:44:38 -05:00
settings.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
socket.ts chore: update CHANGELOG 2021-05-13 12:10:22 -07:00
update.ts fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00
util.ts revert: @node-rs/argon2 -> node-argon2 (#4829) 2022-02-04 15:52:42 -07:00
wrapper.ts Fix: use pipe to spawn child process to re-enable file logging (#4293) 2021-10-05 10:55:40 -05:00
wsRouter.ts chore: replace eslint-import-resolver-alias with eslint-import-resolver-typescript (#4546) 2021-12-07 14:39:01 -07:00