All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed
DELETE
warnings, Thanks @mauvm
- Ensure expectations are executed sequentially rather than in parallel
- No longer return promise upon
.reply()
; instead require.ready()
to be used always - Update dependencies
- Fixed most lint errors
start()
now returns a promise with the running mock server
- request-promise dependency is now installed as normal dependency rather than devDependency
- Updated peerDependency for mockingbird to 0.3
- Body is now always sent as string to mockingbird
- Add tests for various scenarios
- Add
ready()
which waits until all pending promises are fulfilled
- Prepublish now also runs test suite
- Refactor
reply()
to return pending promise - Rename
end()
to_end()
to indicate it is a private method - Update readme
- Error message
expectAllConsumed()
no longer contains a newline
clean()
now ignores 404 when expectation is not found in test
- Throw error when invoking methods after
reply()
has been called.
- Add changelog file
- Importing mockingbird-client now imports correct client.js main file
- Initial release