Skip to content

Commit

Permalink
test: more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Feb 6, 2024
1 parent b586672 commit 5f6e9b4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/expo-example/components/InputExample/TextInput.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { render, screen } from '@testing-library/react-native';
import { composeStory } from '@storybook/react';
import Meta, { Basic } from './TextInput.stories';

const TextInputStory = composeStory(Basic, Meta);

test('text input story renders', () => {
render(<TextInputStory />);

screen.getByPlaceholderText('Type something');
});

0 comments on commit 5f6e9b4

Please sign in to comment.