@angular/core 16.1.1 → 16.2.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/testability/testability.mjs +3 -4
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/src/zone/ng_zone.mjs +2 -3
- package/esm2022/testing/src/component_fixture.mjs +2 -5
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +5 -18
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +3 -6
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/guard-and-resolve-interfaces/bundle.js +13 -13
- package/schematics/migrations/remove-module-id/bundle.js +14 -14
- package/schematics/ng-generate/standalone-migration/bundle.js +1415 -1004
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
- package/esm2022/src/util/microtask.mjs +0 -20
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.
|
|
2
|
+
* @license Angular v16.2.0-next.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -102,7 +102,7 @@ class ComponentFixture {
|
|
|
102
102
|
// If so check whether there are no pending macrotasks before resolving.
|
|
103
103
|
// Do this check in the next tick so that ngZone gets a chance to update the state of
|
|
104
104
|
// pending macrotasks.
|
|
105
|
-
|
|
105
|
+
queueMicrotask(() => {
|
|
106
106
|
if (!ngZone.hasPendingMacrotasks) {
|
|
107
107
|
if (this._promise !== null) {
|
|
108
108
|
this._resolve(true);
|
|
@@ -231,9 +231,6 @@ class ComponentFixture {
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
function scheduleMicroTask(fn) {
|
|
235
|
-
Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
|
|
236
|
-
}
|
|
237
234
|
|
|
238
235
|
const _Zone = typeof Zone !== 'undefined' ? Zone : null;
|
|
239
236
|
const fakeAsyncTestModule = _Zone && _Zone[_Zone.__symbol__('fakeAsyncTest')];
|
|
@@ -10485,7 +10482,7 @@ class Version {
|
|
|
10485
10482
|
/**
|
|
10486
10483
|
* @publicApi
|
|
10487
10484
|
*/
|
|
10488
|
-
const VERSION = new Version('16.
|
|
10485
|
+
const VERSION = new Version('16.2.0-next.0');
|
|
10489
10486
|
|
|
10490
10487
|
// This default value is when checking the hierarchy for a token.
|
|
10491
10488
|
//
|