Skip to content

Commit eab4138

Browse files
authored
docs: document all supported test file extensions (#107)
1 parent fecc565 commit eab4138

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/introduction/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ Below you can find an example config (can also be found in the [example app](htt
3434

3535
### Add tests
3636

37-
Use the [takeScreenshot](/docs/api/methods#takescreenshotname-string) and [.toMatchBaseline](/docs/api/matchers#tomatchbaselinename-string) apis to implement screenshot tests. File names must end in `.owl.ts` or `.owl.tsx`. [See the example app](https://github.com/FormidableLabs/react-native-owl/tree/main/example) for a more complete example.
37+
Use the [takeScreenshot](/docs/api/methods#takescreenshotname-string) and [.toMatchBaseline](/docs/api/matchers#tomatchbaselinename-string) apis to implement screenshot tests. File names must end in `.owl.ts`, `.owl.tsx`, `.owl.js` or `.owl.jsx`. [See the example app](https://github.com/FormidableLabs/react-native-owl/tree/main/example) for a more complete example.
3838

3939
#### Example
4040

41-
```js title="app.owl.jsx"
41+
```js title="app.owl.tsx"
4242
import { press, takeScreenshot } from 'react-native-owl';
4343

4444
describe('App.tsx', () => {

0 commit comments

Comments
 (0)