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

Function getTestStatus

public/js/adminPanel.js:1958–1967  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

1956 };
1957
1958 const getTestStatus = (id) => {
1959 const entry = (state.testStatus && state.testStatus[id]) ? state.testStatus[id] : {};
1960 return {
1961 state: normalizeTestState(entry.state),
1962 message: entry.message ? String(entry.message) : '',
1963 checks: normalizeTestChecks(entry.checks),
1964 capabilities: normalizeCapabilities(entry.capabilities),
1965 limited: !!entry.limited,
1966 };
1967 };
1968
1969 const setTestStatus = (id, next) => {
1970 if (!id) return;

Callers 2

renderListFunction · 0.85
runSourceTestFunction · 0.85

Calls 3

normalizeTestStateFunction · 0.85
normalizeTestChecksFunction · 0.85
normalizeCapabilitiesFunction · 0.85

Tested by

no test coverage detected