This website requires JavaScript.
Explore
Help
Register
Sign In
a
/
code-server
Watch
1
Star
0
Fork
You've already forked code-server
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
00224fa73a
code-server
/
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"