*/
export function mockService<TService extends TAnyService>(
): TService {
return mockObject(overrides);
}
Frontier kind: Code frontier
unlabeled · c_a7d8dff48692
101 tests · 3440 LOC · 19 files · introduces 0 tests · 4 LOC · 1 file
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
Every exact file and test below is linked only from the concept that introduces it.
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator core logic|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator multi-root workspace core logic with top-level `.github` folder|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator multi-root workspace core logic without top-level `.github` folder|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills finds skill files in configured locations|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills finds skills across multiple workspace folders|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills returns empty array when no skills exist|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills returns empty array when skill folder does not exist|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator getHookSourceFolders excludes Claude paths|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator getHookSourceFolders returns source metadata for hook folders|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator skills toAbsoluteLocationsForSkills path validation rejects absolute paths in skill paths via getConfigBasedSourceFolders|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator skills toAbsoluteLocationsForSkills path validation rejects glob patterns in skill paths via getConfigBasedSourceFolders|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem array config value|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem no config value|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem null config value|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator hasGlobPattern detects double wildcard|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator hasGlobPattern detects single wildcard|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator hasGlobPattern returns false for paths without wildcards|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator isValidSkillPath accepts parent relative paths for monorepos|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator isValidSkillPath accepts relative paths|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator isValidSkillPath accepts user home paths|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator isValidSkillPath handles paths with spaces|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator isValidSkillPath rejects absolute paths|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator isValidSkillPath rejects empty or whitespace paths|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator isValidSkillPath rejects glob patterns|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator isValidSkillPath rejects paths with backslashes|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator isValidSkillPath rejects tilde paths without path separator|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig sourceLocations skills filters out disabled default skill folders|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig sourceLocations skills includes all default folders when explicitly enabled|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig sourceLocations null|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig sourceLocations undefined|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig sourceLocations skills null returns empty array|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig sourceLocations skills undefined returns empty array|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptsServiceUtils.test|title=promptsServiceUtils isOrganizationPromptFile returns false for similar but incorrect paths|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptsServiceUtils.test|title=promptsServiceUtils isOrganizationPromptFile returns false when path does not contain /github/|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptsServiceUtils.test|title=promptsServiceUtils isOrganizationPromptFile returns true when extension matches and path contains /github/|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig getLocationsValue object filters out non valid entries|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig getLocationsValue object only invalid or false values|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig getLocationsValue null for skill|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig getLocationsValue undefined for skill|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig getLocationsValue null|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/config/config.test|title=PromptsConfig getLocationsValue undefined|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptsServiceUtils.test|title=promptsServiceUtils isOrganizationPromptFile returns false when defaultChatAgent exists but chatExtensionId is empty|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptsServiceUtils.test|title=promptsServiceUtils isOrganizationPromptFile returns false when no chatExtensionId is configured|occurrence=1Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 4 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
*/
export function mockService<TService extends TAnyService>(
): TService {
return mockObject(overrides);
}