MCPcopy Create free account
hub / github.com/error311/FileRise / pruneTestStatus

Function pruneTestStatus

public/js/adminPanel.js:1976–1984  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1974 };
1975
1976 const pruneTestStatus = () => {
1977 if (!state.testStatus) return;
1978 const ids = new Set((state.sources || []).map(src => String(src.id || '')));
1979 Object.keys(state.testStatus).forEach(id => {
1980 if (!ids.has(id)) {
1981 delete state.testStatus[id];
1982 }
1983 });
1984 };
1985
1986 const setType = (type) => {
1987 let t = (type || 'local').toLowerCase();

Callers 1

loadSourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected