Skip to content

Commit

Permalink
ExperimentalPendingTasks => PendingTasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdaniels committed Nov 19, 2024
1 parent da7fcff commit 3c67b48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/compat/angularfire2.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CompilerFactory, DoBootstrap, ExperimentalPendingTasks, NgModule, NgZone, PlatformRef } from '@angular/core';
import { CompilerFactory, DoBootstrap, NgModule, NgZone, PendingTasks, PlatformRef } from '@angular/core';
import { TestBed } from '@angular/core/testing';
import { ɵAngularFireSchedulers, ɵZoneScheduler, ɵkeepUnstableUntilFirstFactory } from '@angular/fire';
import { AngularFireModule, FirebaseApp } from '@angular/fire/compat';
Expand Down Expand Up @@ -100,7 +100,7 @@ describe('angularfire', () => {
runOutsideAngular: outsideZone.runGuarded.bind(outsideZone),
runTask: insideZone.run.bind(insideZone)
} as NgZone;
schedulers = new ɵAngularFireSchedulers(ngZone, TestBed.inject(ExperimentalPendingTasks));
schedulers = new ɵAngularFireSchedulers(ngZone, TestBed.inject(PendingTasks));
});

it('should re-schedule emissions asynchronously', done => {
Expand Down Expand Up @@ -158,7 +158,7 @@ describe('angularfire', () => {
} as NgZone,
outsideAngular: new ɵZoneScheduler(outsideZone, testScheduler),
insideAngular: new ɵZoneScheduler(insideZone, testScheduler),
pendingTasks: TestBed.inject(ExperimentalPendingTasks),
pendingTasks: TestBed.inject(PendingTasks),
};
const keepUnstableOp = ɵkeepUnstableUntilFirstFactory(trackingSchedulers);

Expand Down
4 changes: 2 additions & 2 deletions src/compat/database/database.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ExperimentalPendingTasks, NgZone } from '@angular/core';
import { NgZone, PendingTasks } from '@angular/core';
import { TestBed } from '@angular/core/testing';
import { ɵAngularFireSchedulers } from '@angular/fire';
import { AngularFireModule, FIREBASE_APP_NAME, FIREBASE_OPTIONS, FirebaseApp } from '@angular/fire/compat';
Expand Down Expand Up @@ -41,7 +41,7 @@ describe('AngularFireDatabase', () => {
});

it('should accept a Firebase App in the constructor', (done) => {
const schedulers = new ɵAngularFireSchedulers(zone, TestBed.inject(ExperimentalPendingTasks));
const schedulers = new ɵAngularFireSchedulers(zone, TestBed.inject(PendingTasks));
const database = new AngularFireDatabase(
app.options, rando(), undefined, {}, zone, schedulers, undefined, undefined,
undefined, undefined, undefined, undefined, undefined, undefined, undefined,
Expand Down

0 comments on commit 3c67b48

Please sign in to comment.