common-workflow-language / schema_salad

Semantic Annotations for Linked Avro Data

Home Page:https://www.commonwl.org/v1.2/SchemaSalad.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The value of copyFrom.fetcher is not used in the LoadingOptions constructor in typescript

bioflowy opened this issue · comments

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.