Skip to content

kocya-dev/ts_multi_project

Repository files navigation

ts_multi_project

カバレッジ出力あり
ルートディレクトリにcoverageディレクトリが生成される。

npx jest --coverage

下記でカバレッジ範囲指定可能

--collectCoverageFrom='./src/**'

ut:で始まるテストのみ実行

npx jest -t ^ut:

jest の結果レポート生成は下記パッケージが必要

npm install --save-dev jest-html-reporters

--reporters オプションで指定
以下はデフォルトのコンソール出力 + html 出力両方
ルートディレクトリにjest_html_reporters.htmlが生成される。

npx jest --reporters=default --reporters=jest-html-reporters

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published