refactor(core): add links to top runtime errors (#40326)
add links to 5 runtime error messages navigate user to AIO new /errors pages for debugging PR Close #40326
This commit is contained in:
+3
-1
@@ -63,9 +63,11 @@ describe('Ivy NgModule', () => {
|
||||
}
|
||||
|
||||
const errorCode = ivyEnabled ? 'NG0200: ' : '';
|
||||
const errorLink = ivyEnabled ? '. Find more at https://angular.io/errors/NG0200' : '';
|
||||
expect(() => createInjector(AModule))
|
||||
.toThrowError(`${
|
||||
errorCode}Circular dependency in DI detected for AModule. Dependency path: AModule > BModule > AModule`);
|
||||
errorCode}Circular dependency in DI detected for AModule. Dependency path: AModule > BModule > AModule${
|
||||
errorLink}`);
|
||||
});
|
||||
|
||||
it('merges imports and exports', () => {
|
||||
|
||||
Reference in New Issue
Block a user