Created
May 29, 2016 15:40
-
-
Save maxfarseer/6bd73816a9e0cdb6db08cab72099a4be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nock(`${API_ROOT_V1}`) | |
.log(console.log) | |
.post('/api/v1/providers/add', {name: 'User', phone: '+7-123-45-67-89'}) | |
.reply(200, { status: 200, data: '574ad7429a59dcd429adfc32' }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment