From 40bf1e04757d5cd9780af362c7c4471d274f7ae6 Mon Sep 17 00:00:00 2001 From: JoostK Date: Sat, 17 Oct 2020 20:54:06 +0200 Subject: [PATCH] test(compiler-cli): remove spurious `console.error` call from a test (#39321) Reporting the source file text to the console was left as a debugging artifact. PR Close #39321 --- .../compiler-cli/src/ngtsc/typecheck/test/type_checker_spec.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/compiler-cli/src/ngtsc/typecheck/test/type_checker_spec.ts b/packages/compiler-cli/src/ngtsc/typecheck/test/type_checker_spec.ts index dd60007982..3a06cc6459 100644 --- a/packages/compiler-cli/src/ngtsc/typecheck/test/type_checker_spec.ts +++ b/packages/compiler-cli/src/ngtsc/typecheck/test/type_checker_spec.ts @@ -117,7 +117,6 @@ runInEachFileSystem(() => { // Next, ask for a TCB from file2. This operation should clear data on TCBs generated for // file1. expect(templateTypeChecker.getTypeCheckBlock(cmpB)).not.toBeNull(); - console.error(templateTypeChecker.getTypeCheckBlock(cmpB)?.getSourceFile().text); // This can be detected by asking for a TCB again from file1. Since no data should be // available for file1, this should cause another type-checking program step.