zt-hock

1.1.2 • Public • Published

zt-hock Build Status Coverage Status

An HTTP mocking server forked from Hock, which itself is based on a project called Nock.

Why fork

We use hock for several projects, but lacked a couple of features and configurations options. The project looked like it was dead (no comments and merged PRs for more than half a year). As a result, we decided to fork the project, re-write it, and add our missing features.

Difference with hock

At a glance:

  • Modern code base, written in ES6
  • delay() API
  • Object comparison for bodies tries to compare first using deep-equals, then falls back to stringify
  • Option to turn off throwing errors for unprocessed requests in the assertion queue
  • ... we await your feature requests!

WIP: Readme

Readme

Keywords

Package Sidebar

Install

npm i zt-hock

Weekly Downloads

1

Version

1.1.2

License

none

Unpacked Size

223 kB

Total Files

17

Last publish

Collaborators

  • zeroturnaround