git clone https://github.com/arichter83/meteor-react-typescript-nightwatch.git
npm install
meteor
The jest tests are using the "react-test-renderer" and "meteor-jest-stubs" (https://github.com/tomscholz/meteor-jest-stubs):
npm run test
Open three terminals and run these commands
Typescript compiler (-w will run on any file change):
tsc -w
Run meteor server:
meteor
Run nightwatch (with config/nightwatch.json
) and Chrome:
npm run test-nightwatch
meteor create --react meteor-react-typescript-nightwatch
cd meteor-react-typescript-nightwatch
npm install typescript
meteor add adornis:typescript
npm install @types/meteor @types/react @types/react-dom
npm install nightwatch chromedriver @types/nightwatch
And all the changes in the code as seen in this repository.