You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2019. It is now read-only.
cd into the folder where you want to create your project and run:
67
+
```
68
+
slush generator-scalable-react
69
+
```
70
+
71
+
Follow the onscreen instructions to create your app.
72
+
59
73
## Deployment
60
74
A demo ExpressJS setup is included with the app. The express server will serve up the production minified bundle.js, index.html and any other assets that are located in the `/server/public` folder.
61
75
@@ -191,12 +205,11 @@ export {
191
205
For information on how to build your own generators with relative ease, please go to the [Plop Microgenerator](https://github.com/amwmedia/plop) homepage for detailed instructions.
192
206
193
207
## Testing
194
-
Included in the setup is a test suite that will run your tests in the browser using Karma. A number of testing utilities are included, including
208
+
Included in the setup is a test suite that will run your tests using Jest. A number of testing utilities are included, including
195
209
- Expect (Plus Expect-JSX)
196
-
- Mocha
197
210
- Chai (JSX and Immutable)
198
211
- Enzyme
199
-
-Karma (including multiple Karma plugins)
212
+
-Jest & enzyme-to-json in order to use the Jest snappshotting with Enzyme.
200
213
201
214
You can see examples for testing of React Components, Redux Action Creators and Reducers in the repository [here](https://github.com/RyanCCollins/scalable-react-boilerplate/tree/master/app/src/containers/FeatureFirstContainer/tests). Please follow the convention of naming tests with a .test.js postfix, or else the test suite will not recognize your tests.
0 commit comments