Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonbcampos/70f407e5161a56fd5088633160e016bf to your computer and use it in GitHub Desktop.
Save jonbcampos/70f407e5161a56fd5088633160e016bf to your computer and use it in GitHub Desktop.
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