- Raise an issue if there is not already one.
- Clone the project
git clone git@github.com:sky-uk/nowtv-react-toolkit.git - Create a branch with your feature or fix and push it to GitHub.
- Create a pull request.
PhantomJS v2 i required for tests. If you haven't already got it installed please do the following:
brew install upxnpm run phantom:install
npm start
You will need selenium server installed locally. If you do not have this already, please run :
npm run selenium:install
Run unit tests:
npm test
Run functional tests:
npm run selenium:startnpm run test:functional
- if the tests or server don't run, try :
rm -rf node_modules && npm i