Created
January 30, 2017 18:24
-
-
Save samueljoli/500fd232e5b5857eea77a28b7b584245 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
| const validateResult = function(){ | |
| if (this.mappedResult === 'FOOBAR') { | |
| throw new ValidationError('unexpected status'); | |
| } | |
| }; | |
| module.exports = validateResult |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment