MCPcopy Index your code
hub / github.com/Doorman11991/smallcode / getTestRunnerContext

Function getTestRunnerContext

bin/smallcode.js:2010–2015  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2008// Test runner context (Feature 10): inject the detected test command once
2009// so the model knows how to run tests without 3 discovery tool calls.
2010function getTestRunnerContext() {
2011 try {
2012 if (_testRunnerDetector) return _testRunnerDetector.formatForPrompt();
2013 } catch {}
2014 return '';
2015}
2016
2017// Active plan injection (Feature 8). Returns '' when no plan is active.
2018function getActivePlanContext() {

Callers 1

buildCompactSystemPromptFunction · 0.85

Calls 1

formatForPromptMethod · 0.45

Tested by

no test coverage detected