@@ -198,7 +198,7 @@ There are four kinds of tests in code-server:
198198Our unit tests are written in TypeScript and run using
199199[ Jest] ( https://jestjs.io/ ) , the testing framework] .
200200
201- These live under [ test/unit] ( .. /test/unit) .
201+ These live under [ test/unit] ( https://github.com/coder/code-server/tree/main /test/unit) .
202202
203203We use unit tests for functions and things that can be tested in isolation. The
204204file structure is modeled closely after ` /src ` so it's easy for people to know
@@ -227,7 +227,7 @@ testing the CLI requires us to build and package code-server.
227227The end-to-end (e2e) tests are written in TypeScript and run using
228228[ Playwright] ( https://playwright.dev/ ) .
229229
230- These live under [ test/e2e] ( .. /test/e2e) .
230+ These live under [ test/e2e] ( https://github.com/coder/code-server/tree/main /test/e2e) .
231231
232232Before the e2e tests run, we run ` globalSetup ` , which eliminates the need to log
233233in before each test by preserving the authentication state.
@@ -243,15 +243,15 @@ We also have a model where you can create helpers to use within tests. See
243243code-server essentially serves as an HTTP API for logging in and starting a
244244remote Code process.
245245
246- The CLI code is in [ src/node] ( .. /src/node) and the HTTP routes are implemented
247- in [ src/node/routes] ( .. /src/node/routes) .
246+ The CLI code is in [ src/node] ( https://github.com/coder/code-server/tree/main /src/node) and the HTTP routes are implemented
247+ in [ src/node/routes] ( https://github.com/coder/code-server/tree/main /src/node/routes) .
248248
249249Most of the meaty parts are in the Code portion of the codebase under
250- [ lib/vscode] ( .. /lib/vscode) , which we describe next.
250+ [ lib/vscode] ( https://github.com/coder/code-server/tree/main /lib/vscode) , which we describe next.
251251
252252### Modifications to Code
253253
254- Our modifications to Code can be found in the [ patches] ( .. /patches) directory.
254+ Our modifications to Code can be found in the [ patches] ( https://github.com/coder/code-server/tree/main /patches) directory.
255255We pull in Code as a submodule pointing to an upstream release branch.
256256
257257In v1 of code-server, we had Code as a submodule and used a single massive patch
@@ -274,7 +274,7 @@ requires us to ensure that our changes are still applied correctly and work as
274274intended. In the future, we'd like to run Code unit tests against our builds to
275275ensure that features work as expected.
276276
277- > We have [ extension docs] ( ../ci/README.md ) on the CI and build system.
277+ > We have [ extension docs] ( https://github.com/coder/code-server/tree/main/ci ) on the CI and build system.
278278
279279If the functionality you're working on does NOT depend on code from Code, please
280280move it out and into code-server.
0 commit comments