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/test
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
..
e2e feat: add tests for node/heart.ts (#5122) 2022-04-26 16:35:40 +00:00
scripts feat(brew-bump): add check for cleanup step 2021-09-28 16:07:01 -07:00
unit feat: add tests for node/heart.ts (#5122) 2022-04-26 16:35:40 +00:00
utils feat: add tests for update.ts (#4835) 2022-02-14 13:53:28 -07:00
package.json feat(http): keep slashes in queryParams in redirects (#4928) 2022-03-01 12:11:56 -07:00
playwright.config.ts feat: proxy URI environment variable (#4681) 2022-01-04 15:02:25 -06:00
tsconfig.json refactor: move jest around and add code coverage 2021-01-22 14:18:45 -07:00
yarn.lock feat(http): keep slashes in queryParams in redirects (#4928) 2022-03-01 12:11:56 -07:00