Last active
September 12, 2018 14:21
-
-
Save jonbcampos/70f407e5161a56fd5088633160e016bf 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
it('fails with missing params', () => { | |
expect(() => testRunner.runSchematic( | |
'simple-schematic', | |
{}, | |
appTree)).toThrowError(InvalidInputOptions, | |
'Schematic input does not validate against the Schema: {"spec":true,"flat":false}\n'+ | |
'Errors:\n\n'+ | |
' Data path "" should have required property \'name\'.'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment