MCPcopy
hub / github.com/CodebuffAI/codebuff / afterEach

Function afterEach

common/src/testing/setup.ts:173–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 }
172
173 const afterEach = (): void => {
174 // Restore all mocks
175 analyticsSpy?.restore()
176 cryptoSpy?.restore()
177 dbSpy?.restore()
178
179 // Reset the spies
180 analyticsSpy = undefined
181 cryptoSpy = undefined
182 dbSpy = undefined
183 }
184
185 const restore = afterEach
186

Calls

no outgoing calls

Tested by

no test coverage detected