()
| 9 | let tcfListener: TcfListener | undefined; |
| 10 | |
| 11 | const loadStore = async (): Promise<TcfModule> => { |
| 12 | jest.resetModules(); |
| 13 | const store = (await import('./tcf')) as TcfModule; |
| 14 | store.startTcfSubscription(); |
| 15 | return store; |
| 16 | }; |
| 17 | |
| 18 | beforeEach(() => { |
| 19 | tcfListener = undefined; |