decentralized-identity/dwn-server

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

Open

#144 aperta il 10 lug 2024

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (42 fork)github user discovery
good first issuetest

Metriche repository

Star
 (41 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor