style: tslint enforces no debugger statements left behind (#25532)
PR Close #25532
This commit is contained in:
@ -116,6 +116,7 @@ function _it(
|
||||
jsmFn: Function, testName: string, testFn: (done?: DoneFn) => any, testTimeout = 0): void {
|
||||
if (runnerStack.length == 0) {
|
||||
// This left here intentionally, as we should never get here, and it aids debugging.
|
||||
// tslint:disable-next-line
|
||||
debugger;
|
||||
throw new Error('Empty Stack!');
|
||||
}
|
||||
|
Reference in New Issue
Block a user