@hmcts/div-idam-test-harness
Test harness for the IdAM Express Middleware
Last updated a year ago by jenkins-reform-hmcts .
MIT · Original npm · Tarball · package.json
$ cnpm install @hmcts/div-idam-test-harness 
SYNC missed versions from official npm registry.

Divorce IDAM Express Test Harness

A test harness for the IDAM-Express-Middleware

Requirements

  • Node >=8.0
  • yarn

Installation

# Install the latest version
yarn add "@hmcts/div-idam-test-harness"

# Install a specific version
yarn add "@hmcts/div-idam-test-harness@1.2.1"

Usage

Require this module in your tests and call idamExpressTestHarness.stub() before the app is initialised.

Remember to call .restore() after every test.

Current Tags

  • 1.6.0                                ...           latest (a year ago)

6 Versions

  • 1.6.0                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.0                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 6
Last Month 17
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |