(scriptId)
| 200 | } |
| 201 | |
| 202 | export async function isActiveScript(scriptId) { |
| 203 | let currentList = await getAllActiveScriptIds(); |
| 204 | return currentList.find((_) => _ == scriptId) != null; |
| 205 | } |
| 206 | |
| 207 | export async function getAllActiveScriptIds() { |
| 208 | return await Storage.get(listActiveScriptsKey, []); |
no test coverage detected