Skip to content

Commit

Permalink
Fix test failures on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
FractalBoy committed Jun 6, 2024
1 parent 4e201d6 commit 1508da0
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 89 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
vscode-${{ runner.os }}-
- name: Run tests
uses: GabrielBB/xvfb-action@v1.0
uses: coactions/setup-xvfb@v1
with:
run: yarn test
env:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"@types/xml2js": "^0.4.9",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"@vscode/test-electron": "^2.4.0",
"chardet": "^1.3.0",
"dayjs": "^1.10.6",
"decache": "^4.6.0",
Expand All @@ -86,7 +87,6 @@
"tmp": "0.2.1",
"ts-loader": "^9.2.4",
"typescript": "^4.3.5",
"vscode-test": "^1.6.1",
"webpack": "^5.48.0",
"webpack-cli": "^4.7.2",
"xml2js": "^0.4.19"
Expand Down Expand Up @@ -1296,4 +1296,4 @@
}
]
}
}
}
2 changes: 1 addition & 1 deletion src/test/runTest.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as path from "path";
import { runTests } from "vscode-test";
import { runTests } from "@vscode/test-electron";

async function main() {
const extensionDevelopmentPath = path.resolve(__dirname, "../../");
Expand Down
Loading

0 comments on commit 1508da0

Please sign in to comment.