@angular/core 15.0.2 → 15.1.0-next.1
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/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/esm2020/testing/src/test_bed.mjs +13 -2
- package/fesm2015/core.mjs +1 -1
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +14 -3
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +1 -1
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +14 -3
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/testing/index.d.ts +7 -1
package/index.d.ts
CHANGED
package/package.json
CHANGED
package/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.0.
|
|
2
|
+
* @license Angular v15.1.0-next.1
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -292,6 +292,12 @@ export declare interface TestBed {
|
|
|
292
292
|
get<T>(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): any;
|
|
293
293
|
/** @deprecated from v9.0.0 use TestBed.inject */
|
|
294
294
|
get(token: any, notFoundValue?: any): any;
|
|
295
|
+
/**
|
|
296
|
+
* Runs the given function in the `EnvironmentInjector` context of `TestBed`.
|
|
297
|
+
*
|
|
298
|
+
* @see EnvironmentInjector#runInContext
|
|
299
|
+
*/
|
|
300
|
+
runInInjectionContext<T>(fn: () => T): T;
|
|
295
301
|
execute(tokens: any[], fn: Function, context?: any): any;
|
|
296
302
|
overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModule>): TestBed;
|
|
297
303
|
overrideComponent(component: Type<any>, override: MetadataOverride<Component>): TestBed;
|