Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.78 KB

ContributionGuide.md

File metadata and controls

49 lines (34 loc) · 1.78 KB

Table of Contents

Contribution Guide

Contents

Prerequisites

Minimum requirements are:

  • Node.js version 12.
  • Npm version 6.

You can install all dependencies using npm with following command:

npm install

Development

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.

E2E tests (Extension module only)

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.