Resolve the warnings from TS diagnostics during the tests
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- testing
调研方向
从 jest.config.js 开始,运行测试套件以收集所有 TypeScript 诊断信息。检查第 60 行的 src/key/test/MemoryKeyStore.spec.ts 以及报告的其他所有位置。当测试在没有 TypeScript 诊断警告的情况下运行,同时保持通过状态时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Currently, it doesn't make the tests fail because of warnOnly flag in the jest.config.js.
"ts-jest": {
diagnostics: {
warnOnly: true
}
}
Warning example
ts-jest[ts-compiler] (WARN) TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):
src/key/__test__/MemoryKeyStore.spec.ts:60:46 - error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
- 主要语言
- TypeScript
- 星标
- 26
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CodeChain-io/codechain-sdk-js 的其他 Issue
-
Mint asset 未关闭
难度 5/5 一周以上 新手友好度 20/100
CodeChain-io/codechain-sdk-js#410 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
CodeChain-io/codechain-sdk-js#409 ·
-
难度 2/5 1-3 小时 新手友好度 42/100
CodeChain-io/codechain-sdk-js#405 · 1 个 reaction ·
-
good first issue
难度 2/5 1-3 小时 新手友好度 45/100
CodeChain-io/codechain-sdk-js#399 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
CodeChain-io/codechain-sdk-js#395 ·
查看 CodeChain-io/codechain-sdk-js 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
bcgov/bc-wallet-mobile#4761 · 1 条评论 ·
-
external-issue to-triage
难度 2/5 1-3 小时 新手友好度 88/100
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
refactor
难度 2/5 1-3 小时 新手友好度 84/100