angular/packages/compiler-cli/test/ngtsc/doc_extraction
Paul Gschwendtner 2564b45b47 test: replace fake_core with real @angular/core output (#54650)
This commit replaces `fake_core` with the real `@angular/core`
output. See previous commit for reasons.

Overall, this commit:

* Replaces references of `fake_core`
* Fixes tests that were testing Angular compiler detection that _would_
  already be flagged by type-checking of TS directly. We keep these
  tests for now, and add `@ts-ignore` to verify the Angular checks, in
  case type checking is disabled in user applications- but it's worth
  considering to remove these tests. Follow-up question/non-priority.
* Adds `@ts-ignore` to the tests for `defer` 1P because the property is
  marked as `@internal` and now is (correctly) causing failures in the
  compiler test environment.
* Fixes a couple of tests with typos, wrong properties etc that
  previously weren't detected! A good sign.

PR Close #54650
2024-03-06 12:34:38 +01:00
..
class_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
common_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
constant_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
decorator_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
directive_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
doc_extraction_filtering_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
enum_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
function_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
interface_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
jsdoc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
ng_module_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
pipe_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
reexport_docs_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
type_alias_doc_extraction_spec.ts test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00