()
| 34 | // } |
| 35 | |
| 36 | function init(): void { |
| 37 | if (choice === "eg") { |
| 38 | EG.init(); |
| 39 | } else { |
| 40 | PW.init(); |
| 41 | } |
| 42 | |
| 43 | setInterval(() => { |
| 44 | if (TestState.isActive) { |
| 45 | return; |
| 46 | } |
| 47 | if (choice === "eg") { |
| 48 | void EG.refreshVisible(); |
| 49 | } else { |
| 50 | void PW.refreshVisible(); |
| 51 | } |
| 52 | }, 60000); |
| 53 | |
| 54 | initialised = true; |
| 55 | } |
| 56 | |
| 57 | function removeAll(): void { |
| 58 | removeSellout(); |
no test coverage detected