decentralized-identity/dwn-server

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

Open

#144 geöffnet am 10. Juli 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (42 Forks)github user discovery
good first issuetest

Repository-Metriken

Stars
 (41 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide