style: tslint enforces no debugger statements left behind (#25532)

PR Close #25532
This commit is contained in:
Miško Hevery
2018-08-16 15:55:45 -07:00
committed by Jason Aden
parent 503905c807
commit 116946fb11
8 changed files with 44 additions and 22 deletions

View File

@ -530,7 +530,6 @@ describe('Esm2015ReflectionHost', () => {
const host = new Esm2015ReflectionHost(program.getTypeChecker());
const classNode =
getDeclaration(program, SOME_DIRECTIVE_FILE.name, 'SomeDirective', ts.isClassDeclaration);
debugger;
const members = host.getMembersOfClass(classNode);
const staticMethod = members.find(member => member.name === 'staticMethod') !;

View File

@ -414,7 +414,6 @@ describe('Esm5ReflectionHost', () => {
const host = new Esm5ReflectionHost(program.getTypeChecker());
const classNode = getDeclaration(
program, SOME_DIRECTIVE_FILE.name, 'SomeDirective', ts.isVariableDeclaration);
debugger;
const decorators = host.getDecoratorsOfDeclaration(classNode) !;
expect(decorators).toBeDefined();
@ -584,7 +583,6 @@ describe('Esm5ReflectionHost', () => {
const host = new Esm5ReflectionHost(program.getTypeChecker());
const classNode = getDeclaration(
program, SOME_DIRECTIVE_FILE.name, 'SomeDirective', ts.isVariableDeclaration);
debugger;
const members = host.getMembersOfClass(classNode);
const staticMethod = members.find(member => member.name === 'staticMethod') !;

View File

@ -130,7 +130,6 @@ describe('SelectorScopeRegistry', () => {
registry.registerSelector(ProgramCmp, 'program-cmp');
debugger;
const scope = registry.lookupCompilationScope(ProgramCmp) !;
expect(scope).toBeDefined();
expect(scope.directives).toBeDefined();