()
| 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(); |
| 58 | }); |