You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use yarn test-browser --browser chromium --glob vs/**/**.test.ts to run unit test.
Then You will find that the unit test executes all the test files instead of the glob match specified.
Case 2:
Use yarn test-browser --browser chromium --glob vs/**/**.test.ts --debug to run unit test.
There will be a browser flash, but I found that the loader.js is loaded repeatedly in renderer.html, Ideally, what version of the file to load should be determined according to the parameters, not all of them, otherwise the browser will report an error.
Case 3:
Use yarn test-browser --browser chromium --glob src/vs/**/**.test.ts --debug to run unit test.
An error has occurred: zsh: no matches found: vs/**/**.test.ts. Because the path prefix and suffix are not processed in glob mode.
The text was updated successfully, but these errors were encountered:
Does this issue occur when all extensions are disabled?: Yes
Version: 1.78.0 (Universal)
Commit: 252e546
Date: 2023-05-03T20:11:00.813Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin x64 21.3.0
Sandboxed: Yes
Steps to Reproduce:
https://github.com/microsoft/vscode
Cmd + shift + p
to build vscode.Case 1:
yarn test-browser --browser chromium --glob vs/**/**.test.ts
to run unit test.Case 2:
yarn test-browser --browser chromium --glob vs/**/**.test.ts --debug
to run unit test.loader.js
is loaded repeatedly inrenderer.html
, Ideally, what version of the file to load should be determined according to the parameters, not all of them, otherwise the browser will report an error.Case 3:
yarn test-browser --browser chromium --glob src/vs/**/**.test.ts --debug
to run unit test.zsh: no matches found: vs/**/**.test.ts
. Because the path prefix and suffix are not processed in glob mode.The text was updated successfully, but these errors were encountered: