Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 771 Bytes

CONTRIBUTING.md

File metadata and controls

14 lines (11 loc) · 771 Bytes

How to run integration tests locally

  1. Change working directory to patronum sources cd patronum
  2. Install dependencies for patronum via pnpm: pnpm install
  3. Build patronum with specific name: LIBRARY_NAME=@effector/patronum pnpm build
  4. Remove all dependencies: rm -rf node_modules
  5. Go to the integration directory (cra or custom): cd integration/cra
  6. Install dependencies for this package: pnpm install
  7. Add prebuilt patronum to local package: pnpm add ../../dist
  8. Run tests pnpm test

Note: be careful NOT to commit babel-plugin-factories.json with changed library name @effector/patronum

When work is done, please remove @effector/patronum from integration packages via pnpm remove @effector/patronum, else CI can be broken.