TBD54566975 / dwn-server

DWN server - host anywhere publicly accessible for DIDs to use
Apache License 2.0
38 stars 41 forks source link

Remove direct use of default `config` to avoid config changes bleed/pollute between tests #144

Open thehenrytsai opened 2 months ago

thehenrytsai commented 2 months ago

Remove direct use of default config to avoid config changes bleed/pollute between tests, should clone before modify.

See http-api.spec.ts as a prime example of misuse. As a results, tests like dynamic-plugin-loading.spec.ts need to override the config explicitly to ensure reliability.