MCPcopy Index your code
hub / github.com/angular/angularfire / singleWrapper

Function singleWrapper

src/compat/firestore/firestore.spec.ts:54–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53 it('should throw on an invalid document path', () => {
54 const singleWrapper = () => TestBed.runInInjectionContext(() => afs.doc('collection'));
55 const tripleWrapper = () => TestBed.runInInjectionContext(() => afs.doc('collection/doc/subcollection'));
56 expect(singleWrapper).toThrowError();
57 expect(tripleWrapper).toThrowError();

Callers

nothing calls this directly

Calls 2

docMethod · 0.45
collectionMethod · 0.45

Tested by

no test coverage detected