(id)
| 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; |
no test coverage detected