================
@@ -31,13 +31,15 @@
"chokidar": "^4.0.3"
},
"devDependencies": {
+ "@types/mocha": "^10.0.1",
"@types/node": "^18.19.41",
"@types/tabulator-tables": "^6.2.10",
"@types/vscode": "1.75.0",
"@types/vscode-webview": "^1.57.5",
"@vscode/debugprotocol": "^1.68.0",
"@vscode/vsce": "^3.2.2",
"esbuild": "^0.25.9",
+ "mocha": "^10.2.0",
----------------
da-viper wrote:
the issue is that `@vscode/test-cli` requires a display to run any test.
We would not be able to integrate this with the current CI since we need a
display or mimick one with
[xvfb](https://www.x.org/archive/X11R7.7/doc/man/man1/Xvfb.1.xhtml).
The goal is to have both Integration and Unittests.
The current way does not require both the xvfb binary and downloading a vscode
test instance.
example output running the test without a display
```
✔ Validated version: 1.105.1
✔ Found at
https://update.code.visualstudio.com/1.105.1/linux-x64/stable?released=true
✔ Downloaded VS Code into
/home/work/Dev/app_build/test_mocha/.vscode-test/vscode-linux-x64-1.105.1
[3563131:1031/162009.163768:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:250]
Missing X server or $DISPLAY
[3563131:1031/162009.163787:ERROR:ui/aura/env.cc:257] The platform failed to
initialize. Exiting.
[1031/162009.169582:ERROR:third_party/crashpad/crashpad/util/file/directory_reader_posix.cc:43]
opendir
/home/work/Dev/app_build/test_mocha/.vscode-test/user-data/Crashpad/attachments/23a03e76-fbef-4e1b-a374-a93625cb238e:
No such file or directory (2)
Exit code: SIGSEGV
```
https://github.com/llvm/llvm-project/pull/162635
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits