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 88e971c609
refactor(heart): bind class methods and make beat async (#5142)
* feat: set up new test for beat twice

* refactor: make Heart.beat() async

This allows us to properly await heart.beat() in our tests and remove
the HACK I added before.

* refactor: bind heart methods .beat and .alive

This allows the functions to maintain access to the Heart instance (or
`this`) even when they are passed to other functions. We do this because
we pass both `isActive` and `beat` to `heartbeatTimer`.

* feat(heart): add test to ensure no warnings called

* fixup!: revert setTimeout for heartbeatTimer

* fixup!: return promise in beat
2022-05-04 16:05:48 -07:00
..
e2e chore: upgrade Code to 1.66 (#5135) 2022-05-04 21:58:49 +00:00
scripts feat(brew-bump): add check for cleanup step 2021-09-28 16:07:01 -07:00
unit refactor(heart): bind class methods and make beat async (#5142) 2022-05-04 16:05:48 -07:00
utils chore: upgrade Code to 1.66 (#5135) 2022-05-04 21:58:49 +00: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