()
| 58 | const asyncStorage = new AsyncLocalStorage<TestStore>(); |
| 59 | |
| 60 | function getScopes(): TestStore { |
| 61 | return ( |
| 62 | asyncStorage.getStore() || { |
| 63 | scope: getDefaultCurrentScope(), |
| 64 | isolationScope: getDefaultIsolationScope(), |
| 65 | } |
| 66 | ); |
| 67 | } |
| 68 | |
| 69 | setAsyncContextStrategy({ |
| 70 | withScope: callback => { |
no test coverage detected