()
| 5 | const ctxB = createContext('default B'); |
| 6 | |
| 7 | function App() { |
| 8 | return ( |
| 9 | <ctxA.Provider value={'A0'}> |
| 10 | <ctxB.Provider value={'B0'}> |
| 11 | <ctxA.Provider value={'A1'}> |
| 12 | <Cpn /> |
| 13 | </ctxA.Provider> |
| 14 | </ctxB.Provider> |
| 15 | <Cpn /> |
| 16 | </ctxA.Provider> |
| 17 | ); |
| 18 | } |
| 19 | |
| 20 | function Cpn() { |
| 21 | const a = useContext(ctxA); |
nothing calls this directly
no outgoing calls
no test coverage detected