The value of copyFrom.fetcher is not used in the LoadingOptions constructor in typescript
bioflowy opened this issue · comments
bioflowy commented
The value of copyFrom.fetcher is not used in the LoadingOptions constructor in schema_salad/typescript/util/LoadingOptions.ts .
const original = new LoadingOptions({fetcher: new TestFetcher()})
it('should have the same Fetcher as the original', async () => {
const copy = new LoadingOptions({copyFrom:original})
assert.equal(copy.fetcher,original.fetcher)
})
This test fails.