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/unit
Joe Previte 7f12fab3ca
fix(isHashMatch): check that hash starts with $
Previously, we used argon2 to verify the hash with the password.

If the hash didn't start with a $, then it would enter the catch block.

Now we check the hash before trying to verify it and we also throw an Error if
the verify fails.

This makes the isHashMatch function more robust.
2021-06-30 15:00:21 -07:00
..
browser refactor: add func getNlsConfiguration & tests 2021-06-23 13:42:06 -07:00
node fix(isHashMatch): check that hash starts with $ 2021-06-30 15:00:21 -07:00
routes Add static route tests 2021-05-06 14:27:11 -05:00
test-plugin chore: update code-server path in tsconfig 2021-03-12 12:00:57 -07:00
cli.test.ts refactor: parse options with multiple = in cli 2021-06-08 14:33:17 -07:00
constants.test.ts Fix helpers not working in e2e tests 2021-05-06 15:01:35 -05:00
emitter.test.ts refactor: move unit tests to test/unit 2021-03-12 12:00:56 -07:00
helpers.test.ts Move tmpdir test helper to test helpers file 2021-05-06 14:25:50 -05:00
http.test.ts refactor: move unit tests to test/unit 2021-03-12 12:00:56 -07:00
plugin.test.ts refactor: move unit tests to test/unit 2021-03-12 12:00:56 -07:00
proxy.test.ts Refactor integration tests to use main entry point 2021-05-05 12:24:41 -05:00
register.test.ts chore: reformat with new prettier 2021-05-12 01:14:04 +05:30
serviceWorker.test.ts refactor: move unit tests to test/unit 2021-03-12 12:00:56 -07:00
socket.test.ts refactor: move tmpdir into src/node/constants 2021-04-23 14:35:32 -07:00
update.test.ts Re-enable update tests 2021-05-04 13:29:42 -05:00
util.test.ts Import utils as a group in tests 2021-06-29 12:03:38 -05:00