Divorce IDAM Express Test Harness
A test harness for the IDAM-Express-Middleware
- Node >=8.0
# Install the latest version yarn add "@hmcts/div-idam-test-harness" # Install a specific version yarn add "@firstname.lastname@example.org"
Require this module in your tests and call
idamExpressTestHarness.stub() before the app is initialised.
Remember to call
.restore() after every test.