fix(core): Remove `debugger` statement when assert is thrown (#35763)
Fix #35470 Fix FW-1925 PR Close #35763
This commit is contained in:
parent
8f38eb7acb
commit
40035380e7
|
@ -93,8 +93,6 @@ export function assertDefined<T>(actual: T, msg: string) {
|
|||
export function throwError(msg: string): never;
|
||||
export function throwError(msg: string, actual: any, expected: any, comparison: string): never;
|
||||
export function throwError(msg: string, actual?: any, expected?: any, comparison?: string): never {
|
||||
// tslint:disable-next-line
|
||||
debugger; // Left intentionally for better debugger experience.
|
||||
throw new Error(
|
||||
`ASSERTION ERROR: ${msg}` +
|
||||
(comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));
|
||||
|
|
Loading…
Reference in New Issue