To run the javascript examples, the mock server DLL needs to be built using cargo build
in the rust/libpact_mock_server directory.
- run
npm install - run
npm run simple_pact
To change the log level, use the RUST_LOG environment variable. I.e., to set
debug level: RUST_LOG=debug npm run simple_pact
To run the failing example:
$ npm run simple_pact_error