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/e2e
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
..
extensions/test-extension docs: Update some more links (#4806) 2022-02-01 09:45:19 -07:00
models feat: add option for disabling file downloads (#5055) 2022-04-13 09:39:05 -07:00
baseFixture.ts feat: migrate state to new database name (#4938) 2022-03-03 12:32:43 -06:00
codeServer.test.ts chore: update vscode to 1.64 (#4902) 2022-03-09 14:28:52 -07:00
downloads.test.ts feat: add tests for node/heart.ts (#5122) 2022-04-26 16:35:40 +00:00
extensions.test.ts feat: github-auth flag (#4926) 2022-03-02 14:02:51 -06:00
github.test.ts feat: github-auth flag (#4926) 2022-03-02 14:02:51 -06:00
globalSetup.test.ts feat: github-auth flag (#4926) 2022-03-02 14:02:51 -06:00
login.test.ts feat: github-auth flag (#4926) 2022-03-02 14:02:51 -06:00
logout.test.ts feat: github-auth flag (#4926) 2022-03-02 14:02:51 -06:00
openHelpAbout.test.ts fix: version in about dialog (#5057) 2022-03-31 16:14:03 -05:00
terminal.test.ts feat: github-auth flag (#4926) 2022-03-02 14:02:51 -06:00