decentralized-identity/dwn-server

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

Open

#144 建立於 2024年7月10日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (42 fork)github user discovery
good first issuetest

倉庫指標

Star
 (41 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南