-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Labels
engineeringVS Code - Build / issue tracking / etc.VS Code - Build / issue tracking / etc.
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: latest vscode.dev or Version: 1.78.0 (Universal)
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
- OS Version: 12.2.1 (21D62)
Steps to Reproduce:
- Clone
https://github.com/microsoft/vscode
- Use
Cmd + shift + p
to build vscode.
Case 1:
- 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 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:
- 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.
Metadata
Metadata
Assignees
Labels
engineeringVS Code - Build / issue tracking / etc.VS Code - Build / issue tracking / etc.