refactor(docs-infra): fix docs examples for tslint rules related to variable names (#38143)
This commit updates the docs examples to be compatible with the `no-shadowed-variable` and `variable-name` tslint rules. This is in preparation of updating the docs examples `tslint.json` to match the one generated for new Angular CLI apps in a future commit. PR Close #38143
This commit is contained in:

committed by
Alex Rickabaugh

parent
6334749d2c
commit
1db4f508e6
@ -1,4 +1,4 @@
|
||||
import { browser, element, by, protractor } from 'protractor';
|
||||
import { browser, element, by } from 'protractor';
|
||||
|
||||
describe('Event binding example', () => {
|
||||
|
||||
@ -36,7 +36,6 @@ describe('Event binding example', () => {
|
||||
});
|
||||
|
||||
it('should hide the item img', async () => {
|
||||
let deleteButton = element.all(by.css('button')).get(3);
|
||||
await deleteButton.click();
|
||||
browser.switchTo().alert().accept();
|
||||
expect(element.all(by.css('img')).get(0).getCssValue('display')).toEqual('none');
|
||||
|
Reference in New Issue
Block a user