1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 04:35:25 +00:00
code-server-2/test
Joe Previte 83746c8a1f
refactor: remove null check in register.ts options.base
Inside registerServiceWorker, we were originally using the nullash coalescing
operator to check if options.base was null or undefined. However, I realized
this check is not necessary.

If you look at getOptions' return value, we return an object with a key "base"
which is of type "string". We get that value by calling resolveBase which always
returns a string.

As a result, we didn't need to check if options.base was null or undefined
because it never can be.
2021-04-23 17:09:03 -07:00
..
e2e refactor: rateLimiter.canTry logic to check >= 1 2021-04-19 13:14:19 -07:00
unit refactor: remove null check in register.ts options.base 2021-04-23 17:09:03 -07:00
utils refactor: check for editor consistently in tests 2021-04-06 15:46:58 -07:00
config.ts refactor: change config to save all e2e videos 2021-04-19 10:40:59 -07:00
package.json chore(deps): add resolution for newest playwright 2021-04-15 11:46:44 -07:00
tsconfig.json refactor: move jest around and add code coverage 2021-01-22 14:18:45 -07:00
yarn.lock chore(deps): add resolution for newest playwright 2021-04-15 11:46:44 -07:00