We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When i try to render my component in test the error pop up.
Test.spec.tsx
import { render } from '@testing-library/react-native'; import React from 'react'; import BarcodeReader from '~/components/BarcodeReader'; describe('BarcodeReader', () => { it('should tanana', () => { const { debug } = render(<BarcodeReader />); debug(); }); });
Component.tsx
<Container> <Text>BarCode</Text> <Camera onBarCodeRead={(e) => readBarcode(e)}> <BarcodeMaskWithOuterLayout backgroundColor="#333" maskOpacity={0.5} width="80%" height="80%" /> </Camera> </Container>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When i try to render my component in test the error pop up.
Test.spec.tsx
Component.tsx
Screenshot
The text was updated successfully, but these errors were encountered: