Skip to content

Commit

Permalink
Remove DiSPLAY
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit committed May 21, 2024
1 parent 215a5ef commit 926dac0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion firebase-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
"lint": "eslint src --ext ts",
"test": "npm run test:unit && npm run test:e2e",
"pretest:unit": "npm run test-compile && npm run build && tsc -p src/test/tsconfig.test.json",
"test:unit": "DISPLAY=0 node ./dist/test/firebase-vscode/src/test/runTest.js",
"test:unit": "node ./dist/test/firebase-vscode/src/test/runTest.js",
"test:e2e": "npm run test:e2e:empty && npm run test:e2e:fishfood",
"test:e2e:empty": "TS_NODE_PROJECT=\"./src/test/tsconfig.test.json\" TEST=true wdio run ./src/test/empty_wdio.conf.ts",
"test:e2e:fishfood": "TS_NODE_PROJECT=\"./src/test/tsconfig.test.json\" TEST=true wdio run ./src/test/fishfood_wdio.conf.ts",
Expand Down
3 changes: 0 additions & 3 deletions firebase-vscode/src/test/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ async function main() {
extensionTestsPath,
// Workaround for https://github.com/webdriverio-community/wdio-vscode-service/issues/101#issuecomment-1928159399
version: "1.85.0",
extensionTestsEnv: {
'DISPLAY': '0',
},
});
} catch (err) {
console.error("Failed to run tests");
Expand Down

0 comments on commit 926dac0

Please sign in to comment.