Merge pull request #4306 from cdr/jsjoeio-fix-broken-tests

fix: revert CI change + fix broken tests
This commit is contained in:
Joe Previte 2021-10-04 12:20:31 -07:00 committed by GitHub
commit 8a4ed5a2e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -54,6 +54,10 @@ jobs:
run: yarn lint
if: success()
- name: Run code-server unit tests
run: yarn test:unit
if: success()
- name: Upload coverage report to Codecov
run: yarn coverage
if: success()
@ -404,9 +408,6 @@ jobs:
rm -r node_modules/playwright
yarn install --check-files
- name: Run end-to-end tests
run: yarn test:unit
- name: Run end-to-end tests
run: yarn test:e2e

View File

@ -162,7 +162,7 @@ export const register = async (
}
server.on("close", () => {
vscode.vscodeServer.close()
vscode?.vscodeServer.close()
})
app.use(() => {

View File

@ -7,7 +7,7 @@ import * as integration from "../../../utils/integration"
const NOT_FOUND = {
code: 404,
message: "not found",
message: "Not Found",
}
describe("/_static", () => {