We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From @FrozenPandaz on June 6, 2018 3:12
x
- [x] bug report -> please search issues before submitting - [ ] feature request
- [x] devkit - [ ] schematics
Ubuntu
const schematicRunner = new SchematicTestRunner( collectionName, pathToCollectionJson ); const spy = spyOn(schematicRunner.logger, 'info'); schematicRunner .callRule((host: Tree, context: SchematicContext) => { context.logger.info('Hello world!'); , Tree.empty()) .subscribe(result => { expect(spy).toHaveBeenCalledWith('Hello world!'); });
Expected spy to have been called 'Hello world!' but was not called.
The SchematicTestRunner logger should be used by default and the test should pass
Any unit tests which test rules
Copied from original issue: angular/devkit#1016
The text was updated successfully, but these errors were encountered:
deployUrl
No branches or pull requests
From @FrozenPandaz on June 6, 2018 3:12
Bug Report or Feature Request (mark with an
x
)Area
Versions
Ubuntu
Repro steps
The log given by the failure
Expected spy to have been called 'Hello world!' but was not called.
Desired functionality
The SchematicTestRunner logger should be used by default and the test should pass
Mention any other details that might be useful
Any unit tests which test rules
Copied from original issue: angular/devkit#1016
The text was updated successfully, but these errors were encountered: