refactor(ngcc): slightly improve the info in error messages (#34254)
PR Close #34254
This commit is contained in:

committed by
Kara Erickson

parent
31be29a9f3
commit
918d8c9909
@ -797,7 +797,7 @@ runInEachFileSystem(() => {
|
||||
fail('should have thrown');
|
||||
} catch (e) {
|
||||
expect(e.message).toContain(
|
||||
'Failed to compile entry-point fatal-error due to compilation errors:');
|
||||
'Failed to compile entry-point fatal-error (es2015 as esm2015) due to compilation errors:');
|
||||
expect(e.message).toContain('NG2001');
|
||||
expect(e.message).toContain('component is missing a template');
|
||||
}
|
||||
|
Reference in New Issue
Block a user