()
| 2 | |
| 3 | |
| 4 | export default function contextFactory() { |
| 5 | const { createContext } = adapter.getRuntime(); |
| 6 | |
| 7 | let context = (window as any).__appContext; |
| 8 | if (!context) { |
| 9 | context = createContext({}); |
| 10 | (window as any).__appContext = context; |
| 11 | } |
| 12 | return context; |
| 13 | } |
no test coverage detected
searching dependent graphs…