CodeChain-io / CodeChain-io/codechain-sdk-js

Resolve the warnings from TS diagnostics during the tests

オープン
#271 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
test
主要言語
TypeScript
スター
26
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

説明

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'.
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。