Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
icd2k3 committed Jan 14, 2018
1 parent 634f430 commit c6ae713
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ exports[`when passed only required props 1`] = `
`;
```

## Advanced Examples
For advanced examples highlighting different use cases, please check out the [examples directory](https://github.com/icd2k3/jest-auto-snapshots/tree/master/examples)
## More Examples
For more examples highlighting different use cases, please check out the [examples directory](https://github.com/icd2k3/jest-auto-snapshots/tree/master/examples)

## API
```js
Expand Down Expand Up @@ -138,7 +138,9 @@ jestAutoSnapshots.configure({
});
```

For the above example: `'custom fixture'` will be injected for _all_ components with `something: customPropType` in their `propTypes` object. And `{name: 'Joe', age: 30}` will be injected for _all_ components with `user: PropTypes.shape({ /* ... */ })` in their `propTypes` object.
For the above example:
- `'custom fixture'` will be injected for _all_ components with `something: customPropType` in their `propTypes` object.
- `{name: 'Joe', age: 30}` will be injected for _all_ components with `user: PropTypes.shape({ /* ... */ })` in their `propTypes` object.

#### Set Config at the Test Level
In your test file:
Expand Down
22 changes: 0 additions & 22 deletions examples/CustomProps/README.md

This file was deleted.

0 comments on commit c6ae713

Please sign in to comment.