decentralized-identity/dwn-server

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

Open

#144 aberto em 10 de jul. de 2024

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (42 forks)github user discovery
good first issuetest

Métricas do repositório

Stars
 (41 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador