style(aio): fix docs linting issues (#19702)

These issues appeared after upgrade of eslint jasmine plugin

PR Close #19702
This commit is contained in:
Peter Bacon Darwin
2017-10-25 15:02:01 +01:00
committed by Matias Niemelä
parent e48dc270b5
commit ced5186ca4
5 changed files with 7 additions and 5 deletions

View File

@ -68,7 +68,7 @@ describe('postProcessHtml', function() {
};
processor.plugins = [() => addWarning];
processor.$process([{ docType: 'a', renderedContent: '' }]);
expect(log.warn).toHaveBeenCalled();
expect(log.warn).toHaveBeenCalledWith('There was a problem - doc (a) ');
});
it('should throw on fatal errors', () => {