rodo-chai
v0.1.1
Published
Chai assertions for rodo
Downloads
65
Readme
rodo assertions for Chai
Chai assertions for rodo
Install
npm install rodo-chai
Setup
const chai = require('chai')
const rodoChai = require('rodo-chai')
chai.use(rodoChai)
Usage
In your test suite:
const mock = rodo(urlObject.port)
const myCall = mock
.get('/api/endpoint')
.reply({ foo: 'bar' })
artifactsCall.should.have.been.invokedOnce
License
MIT