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.

贡献者指南