We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb7093 commit 9b57f13Copy full SHA for 9b57f13
src/queries/__tests__/text.test.tsx
@@ -8,7 +8,6 @@ import {
8
TextInput,
9
} from 'react-native';
10
import { render, getDefaultNormalizer, within } from '../..';
11
-import { getConfig } from '../../config';
12
13
test('byText matches simple text', () => {
14
const { getByText } = render(<Text testID="text">Hello World</Text>);
@@ -505,10 +504,6 @@ test('byText support hidden option', () => {
505
504
});
506
507
test('byText should return composite Text', () => {
508
- const textType = getConfig().useBreakingChanges
509
- ? getHostComponentNames().text
510
- : Text;
511
- console.log('BB', getConfig().useBreakingChanges, textType);
512
const { getByText } = render(<Text>hello</Text>);
513
expect(getByText('hello').type).toBe(Text);
514
0 commit comments