This website requires JavaScript.
Explore
Help
Register
Sign In
a
/
code-server-2
mirror of
https://git.tuxpa.in/a/code-server.git
Watch
1
Star
0
Fork
You've already forked code-server-2
0
Code
Issues
Projects
Releases
Wiki
Activity
293d11330e
code-server-2
/
test
/
utils
/
constants.ts
3 lines
82 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Spawn a code-server instance for each test suite This uses the current dev build by default but can be overidden with CODE_SERVER_TEST_ENTRY (for example to test a release or some other version). Each instance has a separate state directory. This should make parallelization work. This also means you are no longer required to specify the password and address yourself (or the extension directory once we add a test extension). `yarn test:e2e` should just work as-is. Lastly, it means the tests are no longer subject to yarn watch randomly restarting.
2021-06-22 21:34:44 +00:00
export
const
PASSWORD
=
"e45432jklfdsab"
Run each e2e test in a new workspace The workspaces also have settings to prevent the welcome page from appearing.
2021-06-22 21:34:11 +00:00
export
const
workspaceDir
=
"workspaces"