MCPcopy Create free account
hub / github.com/CodinGame/monaco-vscode-api / getWorkspaceTestPatterns

Function getWorkspaceTestPatterns

demo/src/features/testing.ts:373–382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

371 }
372
373 function getWorkspaceTestPatterns() {
374 if (api.workspace.workspaceFolders == null) {
375 return []
376 }
377
378 return api.workspace.workspaceFolders.map((workspaceFolder) => ({
379 workspaceFolder,
380 pattern: new api.RelativePattern(workspaceFolder, '**/*.md')
381 }))
382 }
383
384 async function findInitialFiles(controller: vscode.TestController, pattern: vscode.GlobPattern) {
385 for (const file of await api.workspace.findFiles(pattern)) {

Callers 2

testing.tsFile · 0.85
startWatchingWorkspaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…