Table of Contents
Minimum requirements are:
- Node.js version 12.
- Npm version 6.
You can install all dependencies using npm
with following command:
npm install
While developing project you can use some predefined commands for running tests, running linter or generating coverage.
- Execute
npm run test
to run all tests and print the code coverage report. - Execute
npm run unit
to run Unit tests. - Execute
npm run integration
to run Integration tests. (environment variables for extension and notification needs to be set) - Execute
npm run lint
to show lint errors in the code.
Following additional environment variables must be provided in order to run the E2E tests.
Name | Content | Required |
---|---|---|
ADYEN_CLIENT_KEY |
Client-side key that is required to render a Component. See Adyen documentation. | YES |
- Execute
npm run e2e
to run E2e tests.