Skip to content

v2.2.0

Choose a tag to compare

@ruyadorno ruyadorno released this 05 Jul 20:01
· 58 commits to master since this release
  • Refactor that introduces a JS Programmatic API:
    • add(opts)
    • start(opts)
    • stop()
  • Added documentation

In order to use it simply:

const snapstub = require('snapstub');

// starts the mock server
snapstub.start({
	verbose: true,
	mockFolderName: '__mocks__',
	port: 8080
});