Because NPM links local dependency and kopytko-packager trying to find all dependencies in direct node_modules/ directory it is required to exceptionally pack the kopytko-unit-testing-framework first:
- Install kopytko-unit-testing-framework's dependencies:
cd .. && npm ci
- Create NPM package:
npm pack
- Install example app unit-testing-framework dependencies
cd example && npm ci
- Install packed unit-testing-framework:
npm i ../dazn-kopytko-unit-testing-framework-{currentVersion}.tgz
, for instance:npm i ../dazn-kopytko-unit-testing-framework-1.0.0.tgz
npm test -- --rokuIP=<IP>
Example: npm test -- --rokuIP=192.168.3.2