-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds docs section about testing #687
Conversation
To run eslint against only the testfiles run: | ||
|
||
```bash | ||
npm run eslint:test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @bravo-kernel, this is related to my tweak on our alt3 project 😄
This will not work in RSK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you be so kind to provide the correct usage so I can update? Or PR the PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just ommit last 4 lines, it will not apply to RSK
Integrates comments by @langpavel
All good points mr. @langpavel, updated accordingly. |
Mr. @koistya this should be good to merge. |
@bravo-kernel great stuff, much appreciated! |
* Update npm modules; tweak Stylelint settings * Change db string length (#691) * Update history module to v3 (#692) - Update `history` dependency to v3.0.0 ([changelog](https://github.com/ReactJSTraining/history/blob/master/CHANGES.md)) - Add `windowScrollX` and `windowScrollY` helpers to `core/DOMUtils` - Rename `match()` to `UniversalRouter.resolve()` - Fix scroll issues ([see article](https://developers.google.com/web/updates/2015/09/history-api-scroll-restoration)) * fix(Isomorphic Style Loader): Add support to load multiple styles (#678) * fix(Isomorphic Style Loader): Add support to load multiple styles * fix(Isomorphic Style Loader): Add remove feature back * Adds testing section (#687) Integrates comments by @langpavel * Fix npm warnings about graphql dependencies (#693) fixes #661 * Fix OccurrenceOrderPlugin spelling (#683) * fixed typo in passport.js (#696) * Docs: use more expressive language (#701) * Update stylelint-config-standard (#707) * Update stylelint-config-standard When I run 'npm run lint', this warning show up: Deprecation Warning: 'number-zero-length-no-unit' has been deprecated, and will be removed in '7.0'. Use 'length-zero-no-unit' instead. See: http://stylelint.io/user-guide/rules/length-zero-no-unit/ update package to remove it. * Update stylelint to use length-zero-no-unit instead number-zero-length-no-unit. * Fix spelling of "vice versa" (#710) * Remove jade dependency * Update react-style-guide.md (#718) replace ../Nav with ../Navigation * Update CHANGELOG.md
* Add support for helpers in redux-thunk actions (#650) Support for isomorphic `fetch` and `graphqlRequest` helpers in redux-thunk action creators * [feature/redux] Fix: Redux helpers client configuration (#663) * Update npm modules; tweak Stylelint settings * Change db string length (#691) * Update history module to v3 (#692) - Update `history` dependency to v3.0.0 ([changelog](https://github.com/ReactJSTraining/history/blob/master/CHANGES.md)) - Add `windowScrollX` and `windowScrollY` helpers to `core/DOMUtils` - Rename `match()` to `UniversalRouter.resolve()` - Fix scroll issues ([see article](https://developers.google.com/web/updates/2015/09/history-api-scroll-restoration)) * fix(Isomorphic Style Loader): Add support to load multiple styles (#678) * fix(Isomorphic Style Loader): Add support to load multiple styles * fix(Isomorphic Style Loader): Add remove feature back * Adds testing section (#687) Integrates comments by @langpavel * Fix npm warnings about graphql dependencies (#693) fixes #661 * Fix OccurrenceOrderPlugin spelling (#683) * fixed typo in passport.js (#696) * Docs: use more expressive language (#701) * Add eslint global-require exception (#703) Add eslint global-require exception, based in 'src/server.js' file. The 'feature/react-intl' branch also has this problem. * Update stylelint-config-standard (#707) * Update stylelint-config-standard When I run 'npm run lint', this warning show up: Deprecation Warning: 'number-zero-length-no-unit' has been deprecated, and will be removed in '7.0'. Use 'length-zero-no-unit' instead. See: http://stylelint.io/user-guide/rules/length-zero-no-unit/ update package to remove it. * Update stylelint to use length-zero-no-unit instead number-zero-length-no-unit. * Fix spelling of "vice versa" (#710) * Remove jade dependency * Update react-style-guide.md (#718) replace ../Nav with ../Navigation * Update CHANGELOG.md
This page is a result of notes taken while setting up tests for an RSK project, hopefully it will help people on their way. Feedback welcome.