Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.