@angular/core 19.0.2 → 19.0.3
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/fesm2022/core.mjs +91 -93
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +8 -8
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +95 -102
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/bundles/{checker-a00b735e.js → checker-c58f97d2.js} +30 -30
- package/schematics/bundles/{combine_units-60865867.js → combine_units-605024c1.js} +3 -3
- package/schematics/bundles/{compiler_host-3e96c3f7.js → compiler_host-f5d588fe.js} +2 -2
- package/schematics/bundles/control-flow-migration.js +3 -3
- package/schematics/bundles/explicit-standalone-flag.js +4 -4
- package/schematics/bundles/{imports-44987700.js → imports-31a38653.js} +2 -2
- package/schematics/bundles/inject-migration.js +9 -9
- package/schematics/bundles/leading_space-6e7a8ec6.js +1 -1
- package/schematics/bundles/{migrate_ts_type_references-676612f5.js → migrate_ts_type_references-596627c6.js} +8 -8
- package/schematics/bundles/{nodes-b12e919a.js → nodes-88c2157f.js} +2 -2
- package/schematics/bundles/output-migration.js +4 -4
- package/schematics/bundles/pending-tasks.js +4 -4
- package/schematics/bundles/{program-a6be5d4a.js → program-fe7d9b66.js} +12 -12
- package/schematics/bundles/project_tsconfig_paths-6c9cde78.js +1 -1
- package/schematics/bundles/provide-initializer.js +4 -4
- package/schematics/bundles/route-lazy-loading.js +3 -3
- package/schematics/bundles/signal-input-migration.js +6 -6
- package/schematics/bundles/signal-queries-migration.js +5 -5
- package/schematics/bundles/signals.js +5 -5
- package/schematics/bundles/standalone-migration.js +7 -7
- package/testing/index.d.ts +5 -5
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.
|
|
2
|
+
* @license Angular v19.0.3
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -17,7 +17,7 @@ import { ResourceLoader } from '@angular/compiler';
|
|
|
17
17
|
*
|
|
18
18
|
* Example:
|
|
19
19
|
*
|
|
20
|
-
* ```
|
|
20
|
+
* ```ts
|
|
21
21
|
* it('...', waitForAsync(inject([AClass], (object) => {
|
|
22
22
|
* object.doSomething.then(() => {
|
|
23
23
|
* expect(...);
|
|
@@ -175,10 +175,10 @@ class TestBedApplicationErrorHandler {
|
|
|
175
175
|
throw e;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
179
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.
|
|
178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
179
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: TestBedApplicationErrorHandler });
|
|
180
180
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
|
|
182
182
|
type: Injectable
|
|
183
183
|
}] });
|
|
184
184
|
|
|
@@ -475,7 +475,7 @@ function fakeAsync(fn, options) {
|
|
|
475
475
|
* `processNewMacroTasksSynchronously` defaults to true, and the nested
|
|
476
476
|
* function is executed on each tick.
|
|
477
477
|
*
|
|
478
|
-
* ```
|
|
478
|
+
* ```ts
|
|
479
479
|
* it ('test with nested setTimeout', fakeAsync(() => {
|
|
480
480
|
* let nestedTimeoutInvoked = false;
|
|
481
481
|
* function funcWithNestedTimeout() {
|
|
@@ -492,7 +492,7 @@ function fakeAsync(fn, options) {
|
|
|
492
492
|
* In the following case, `processNewMacroTasksSynchronously` is explicitly
|
|
493
493
|
* set to false, so the nested timeout function is not invoked.
|
|
494
494
|
*
|
|
495
|
-
* ```
|
|
495
|
+
* ```ts
|
|
496
496
|
* it ('test with nested setTimeout', fakeAsync(() => {
|
|
497
497
|
* let nestedTimeoutInvoked = false;
|
|
498
498
|
* function funcWithNestedTimeout() {
|
|
@@ -2209,7 +2209,7 @@ const TestBed = TestBedImpl;
|
|
|
2209
2209
|
*
|
|
2210
2210
|
* Example:
|
|
2211
2211
|
*
|
|
2212
|
-
* ```
|
|
2212
|
+
* ```ts
|
|
2213
2213
|
* beforeEach(inject([Dependency, AClass], (dep, object) => {
|
|
2214
2214
|
* // some code that uses `dep` and `object`
|
|
2215
2215
|
* // ...
|