(collection: AngularFirestoreCollection<T>|firebase.firestore.CollectionReference, path, data, delay = 250)
| 43 | } |
| 44 | |
| 45 | export function delayAdd<T>(collection: AngularFirestoreCollection<T>|firebase.firestore.CollectionReference, path, data, delay = 250) { |
| 46 | setTimeout(() => { |
| 47 | TestBed.runInInjectionContext(() => collection.doc(path).set(data)); |
| 48 | }, delay); |
| 49 | } |
| 50 | |
| 51 | export function delayDelete<T>(collection: AngularFirestoreCollection<T>|firebase.firestore.CollectionReference, path, delay = 250) { |
| 52 | setTimeout(() => { |
no test coverage detected