Closed akabekobeko closed 3 years ago
という観点からテスト追加を PR することにした。
ついでに構文 (ファイル) 単位のテストをするため package.json
に test:debug
を追加。ファイル名部分をその時点でデバッグしたいものに変更することで局所的なテストをおこなえる。コマンド側でログ出力も許可してある。ある構文の問題を調べる場合はこれを npm run test:debug
として使い、テストが通ったら npm test
で連携も確認するというのを想定。
And added
test: debug
to package.json to run a single test file. Change thexxx.test.ts
part to the one you want to test.