(id, next)
| 1967 | }; |
| 1968 | |
| 1969 | const setTestStatus = (id, next) => { |
| 1970 | if (!id) return; |
| 1971 | const current = (state.testStatus && state.testStatus[id]) ? state.testStatus[id] : {}; |
| 1972 | state.testStatus[id] = { ...current, ...next }; |
| 1973 | renderList(); |
| 1974 | }; |
| 1975 | |
| 1976 | const pruneTestStatus = () => { |
| 1977 | if (!state.testStatus) return; |
no test coverage detected