| 30 | } |
| 31 | |
| 32 | class TestDescriptor implements IDataDescriptor<TestDataClass> { |
| 33 | restArrayField = "tests"; |
| 34 | fieldId: string = 'testid'; |
| 35 | |
| 36 | parse(accessor: BaseDataAccessor, object: any) { |
| 37 | return new TestDataClass(accessor, object); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | describe('DataCollection', () => { |
| 42 | function createCollection(restPath: string, query: Query) { |
nothing calls this directly
no outgoing calls
no test coverage detected