()
| 166 | const atom = createAtom(42); |
| 167 | |
| 168 | const TestComponent = () => { |
| 169 | const value = useAtom(atom); |
| 170 | return <div data-testid="value">{value}</div>; |
| 171 | }; |
| 172 | |
| 173 | render(<TestComponent />); |
| 174 | expect(screen.getByTestId('value').textContent).toBe('42'); |
nothing calls this directly
no test coverage detected
searching dependent graphs…