MCPcopy
hub / github.com/coder/mux / cleanupUseModelsHookTest

Function cleanupUseModelsHookTest

src/browser/hooks/useModelsFromSettings.test.ts:141–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141async function cleanupUseModelsHookTest() {
142 cleanup();
143 await restoreUseModelsModuleMocks();
144 mock.restore();
145 cleanupDom?.();
146 cleanupDom = null;
147 apiMock = null;
148}
149
150afterAll(async () => {
151 await restoreUseModelsModuleMocks();

Callers

nothing calls this directly

Calls 2

cleanupFunction · 0.50

Tested by

no test coverage detected