This POC is to create automated tests for the analytics using
- Puppeteer
- Sinon
- Jest
- Clone and go to the directory
yarn install
yarn test
ornpm test
npm test -- -u="http://google.com"
NOTE - This is implemented only for the Hero component. So you need to have Hero component on the home page for the tests to work.
Please file an issue or send me a DM if you have any questions.