code-server/test/unit/node
Joe Previte 0e1f396645
feat: add option for disabling file downloads (#5055)
* feat(cli): add disable-file-downloads to cli

* feat(e2e): add download test

* feat(e2e): add downloads disabled test

* refactor(e2e): explain how to debug unexpected close

* feat(patches): add disable file downloads

* wip: update diff

* Update src/node/cli.ts

Co-authored-by: Asher <ash@coder.com>

* fixup! add missing common/contextkeys file to patch

* fixup!: update patch

* fixup!: default disable-file-downloads undefined

* fixup!: combine e2e tests

* fixup!: use different test names

* feat: add CS_DISABLE_FILE_DOWNLOADS

* fixup!: make explicit and cleanup test

* fixup!: use beforeEach

Co-authored-by: Asher <ash@coder.com>
2022-04-13 09:39:05 -07:00
..
routes chore: move Code to a submodule (#4990) 2022-03-14 21:37:29 -05:00
test-plugin release: 4.0.1 (#4678) 2022-01-05 13:06:32 -07:00
app.test.ts feat(testing): add test for app > listen (#4971) 2022-03-11 16:54:59 -07:00
cli.test.ts feat: add option for disabling file downloads (#5055) 2022-04-13 09:39:05 -07:00
constants.test.ts chore: move Code to a submodule (#4990) 2022-03-14 21:37:29 -05:00
http.test.ts feat(http): keep slashes in queryParams in redirects (#4928) 2022-03-01 12:11:56 -07:00
plugin.test.ts feat: add option for disabling file downloads (#5055) 2022-04-13 09:39:05 -07:00
proxy.test.ts chore: replace eslint-import-resolver-alias with eslint-import-resolver-typescript (#4546) 2021-12-07 14:39:01 -07:00
settings.test.ts feat: publish beta and development tags on npm (#4769) 2022-01-21 16:28:56 -07:00
socket.test.ts refactor: match /test/unit structure to /src 2021-07-29 09:48:40 -07:00
update.test.ts feat(testing): add test for `parse` when error in args + config (#4866) 2022-02-15 16:19:22 -07:00
util.test.ts revert: @node-rs/argon2 -> node-argon2 (#4829) 2022-02-04 15:52:42 -07:00