Hello,
First of all, thanks for your contribution to the vite ecosystem π
I got this error while running a test on a component:
Invariant Violation: Native animated module is not available β
Here is a minimal reproduceable example:
describe('my suite', () => {
it('should render correctly with minimal props', () => {
const { getByText } = render(<TouchableOpacity />); // TouchableOpacity is the problem
});
});
The issue come from the TouchableOpacity component that seems to needs some polyfills.