MCPcopy Create free account
hub / github.com/anthropics/claude-code / toldAs

Function toldAs

mods/diff/tests/register.test.ts:2858–2863  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

2856 }
2857
2858 const toldAs = (name: string) => ({
2859 context: [
2860 `The user attached the diff of ${name} from the diff pane to this ` +
2861 'prompt:\n@@ -1 +1 @@\n-was\n+is',
2862 ],
2863 })
2864
2865 await $.session.start(Fixtures.SESSION)
2866 await $.command.run(Fixtures.DIFF)

Callers 1

register.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected