()
| 218 | } |
| 219 | |
| 220 | const ids = () => { |
| 221 | const extra = Object.keys(store.themes) |
| 222 | .filter((id) => !knownThemes().has(id)) |
| 223 | .sort() |
| 224 | const all = themeIDs() |
| 225 | if (extra.length === 0) return all |
| 226 | return [...all, ...extra] |
| 227 | } |
| 228 | |
| 229 | const loadThemes = () => Promise.all(themeIDs().map(load)).then(() => store.themes) |
| 230 |
no test coverage detected