Created
February 5, 2019 06:26
-
-
Save bewarusman/c7adf5c9e09e85b18425776dd6d144e7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| it('text should be provided', async function() { | |
| req.body.text = null; | |
| await createTodo(req, res, next); | |
| expect(next.args[0][0]).to.have.property('msg', 'todo should be provided'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment