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.

贡献者指南