Skip to content

Commit 9b57f13

Browse files
committed
chore: fix lint
1 parent cdb7093 commit 9b57f13

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/queries/__tests__/text.test.tsx

-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
TextInput,
99
} from 'react-native';
1010
import { render, getDefaultNormalizer, within } from '../..';
11-
import { getConfig } from '../../config';
1211

1312
test('byText matches simple text', () => {
1413
const { getByText } = render(<Text testID="text">Hello World</Text>);
@@ -505,10 +504,6 @@ test('byText support hidden option', () => {
505504
});
506505

507506
test('byText should return composite Text', () => {
508-
const textType = getConfig().useBreakingChanges
509-
? getHostComponentNames().text
510-
: Text;
511-
console.log('BB', getConfig().useBreakingChanges, textType);
512507
const { getByText } = render(<Text>hello</Text>);
513508
expect(getByText('hello').type).toBe(Text);
514509
});

0 commit comments

Comments
 (0)