decentralized-identity/dwn-server

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

開放

#144 建立於 2024年7月10日

 (0 則留言) (0 個反應) (0 位負責人)TypeScript (43 個分叉)github user discovery
good first issuetest

倉庫指標

星標
 (41 顆星)
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.

貢獻者指南