Run unit and integration tests
maintenance/v1.xUnit tests
To run the full suite of unit tests, execute the following in the root directory:
$ npm testIntegration tests
Integration tests require a validator client running on your machine.
- Install a test validator:
$ npm run test:live-with-test-validator:setup- Start the validator and run integration tests:
$ cd packages/library-legacy
$ npm run test:live-with-test-validator$ npm test
$ npm run test:live-with-test-validator:setup
$ cd packages/library-legacy
$ npm run test:live-with-test-validator