MCPcopy Index your code
hub / github.com/coderoad/coderoad-vscode / shouldRunTest

Function shouldRunTest

src/actions/utils/tutorialConfig.ts:59–65  ·  view source on GitHub ↗
(document: vscode.TextDocument)

Source from the content-addressed store, hash-verified

57 if (!DISABLE_RUN_ON_SAVE) {
58 // verify if file test should run based on document saved
59 const shouldRunTest = (document: vscode.TextDocument): boolean => {
60 // must be a file
61 if (document.uri.scheme !== 'file') {
62 return false
63 }
64 return true
65 }
66
67 // setup onSave hook
68 vscode.workspace.onDidSaveTextDocument((document: vscode.TextDocument) => {

Callers 1

tutorialConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected