Skip to content

Commit

Permalink
Merge pull request #3420 from unional/patch-1
Browse files Browse the repository at this point in the history
doc(addon-jest): fix option name
  • Loading branch information
Hypnosphi authored Apr 16, 2018
2 parents b04d872 + ce1adaf commit 03cb6c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ storiesOf('MyComponent', module)
### withTests(options)

- **options.results**: OBJECT jest output results. *mandatory*
- **filteExt**: STRING test file extention. *optionnal*. This allow you to write "MyComponent" and not "MyComponent.test.js". It will be used as regex to find your file results. Default value is `((\\.specs?)|(\\.tests?))?(\\.js)?$`. That mean it will match: MyComponent.js, MyComponent.test.js, MyComponent.tests.js, MyComponent.spec.js, MyComponent.specs.js...
- **filesExt**: STRING test file extention. *optionnal*. This allow you to write "MyComponent" and not "MyComponent.test.js". It will be used as regex to find your file results. Default value is `((\\.specs?)|(\\.tests?))?(\\.js)?$`. That mean it will match: MyComponent.js, MyComponent.test.js, MyComponent.tests.js, MyComponent.spec.js, MyComponent.specs.js...

## TODO

Expand Down

0 comments on commit 03cb6c5

Please sign in to comment.