fix(core): fix fakeAsync() error messages (#40442)

Fix error messages when calling `fakeAsync()` without importing `zone-testing.js`

PR Close #40442
This commit is contained in:
JiaLiPassion 2021-01-15 14:34:39 +08:00 committed by Andrew Kushnir
parent 4e8198d60f
commit f49447df20
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const _Zone: any = typeof Zone !== 'undefined' ? Zone : null;
const fakeAsyncTestModule = _Zone && _Zone[_Zone.__symbol__('fakeAsyncTest')];
const fakeAsyncTestModuleNotLoadedErrorMessage =
`zone-testing.js is needed for the async() test helper but could not be found.
`zone-testing.js is needed for the fakeAsync() test helper but could not be found.
Please make sure that your environment includes zone.js/dist/zone-testing.js`;
/**