UNPKG

@antischematic/angular-state-library

Version:
41 lines (37 loc) 1.61 kB
import { ɵɵstores } from '@antischematic/angular-state-library'; import * as i0 from '@angular/core'; import { NgModule } from '@angular/core'; import { TestBed } from '@angular/core/testing'; function processStores() { for (const store of ɵɵstores) { Object.defineProperty(store, "ɵfac", { configurable: true, value: store["ɵfac"] }); // decorateFactory(store) } } class StoreTestingModule { constructor() { processStores(); } } StoreTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); StoreTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: StoreTestingModule }); StoreTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreTestingModule }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: StoreTestingModule, decorators: [{ type: NgModule }], ctorParameters: function () { return []; } }); function initStoreTestEnvironment() { beforeEach(() => { TestBed.configureTestingModule({ imports: [StoreTestingModule] }); }); afterEach(() => { ɵɵstores.clear(); }); } /** * Generated bundle index. Do not edit. */ export { initStoreTestEnvironment }; //# sourceMappingURL=antischematic-angular-state-library-testing.mjs.map //# sourceMappingURL=antischematic-angular-state-library-testing.mjs.map