Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 378 Bytes

File metadata and controls

12 lines (8 loc) · 378 Bytes

To run the javascript examples, the mock server DLL needs to be built using cargo build in the rust/libpact_mock_server directory.

  1. run npm install
  2. 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