#Vitest
RSSフィードdavelosert/vitest-coverage-report-actionを利用することで簡単にVitestのカバレッジレポートを添付することが出来る。
All Posts
VitestのカバレッジレポートをGithub Actionsで添付する実装例
davelosert/vitest-coverage-report-actionを利用することで簡単にVitestのカバレッジレポートを添付することが出来る。
VitestでsetTimeoutやsetIntervalなど時間が関与したコードのテストを記述する
VitestではFake Timer APIを利用することで時間に依存するコードを柔軟に且つ短時間でテストすることができる。
フロントエンドテスト講座を開催した
フロントエンドテスト講座を行った際の内容をまとめた。
VitestのspyOnは同一ファイルの別関数をモックできない
VitestのspyOnは、Jestなどと異なり同一ファイルの別関数をモックできない。ただし、これはVitestのスコープ外の問題であり、Jestなどでも同条件であれば同様の制限が発生する。
Q. 指定されたパスのすべてのモジュールをモックするmockメソッドは巻き上げられる
Vitestでモックが上手く動作しないと相談されたので、その理由などについてまとめた。
News bits
todo
説明文はありません。
Vitest 3.2 リリース
Vitest 3.2 がリリース。Browser Mode と TypeScript サポートの改善に焦点を当て、新しいメソッドや設定オプションを追加。workspace設定が非推奨となり、代わりにprojectsオプションの使用を推奨。
Vitest v3
Vitest v3 がリリースされた。
Storybook 8.4
Storybook 8.4 がリリース。
Storybook 8.3
Storybook 8.3 がリリースされた。
Storybook 8.2
Storybook 8.2 がリリースされた。テスト機能の改善や、ポータブルストーリーの正式なサポートなどが行われた。 また Storybook 8.3 では、Vitest との統合や互換性の向上が予定されている。
Vitest v2.0.0: Browser Mode
Vitest v2.0.0 がリリースされた。非推奨な API の削除やカバレッジの改善、ブラウザモードの追加などが行われている。
Storybook v8
2024 年 3 月 11 日に、Storybook 8 がリリースされました。
Safetest
Safetest は、Netflix の開発した Playwright や Vitest/Jest を組みわせたテストライブラリです。
Vitest 1.0
2023 年 12 月 5 日に Vitest 1.0 がリリースされました。
Storybook 7.6
2023 年 11 月 29 日に Storybook 7.6 がリリースされました。
著者について
Hi there. I'm hrdtbs, a frontend expert and technical consultant. I started my career in the creative industry over 13 years ago, learning on the job as a 3DCG modeler and game engineer in the indie scene.
In 2015 I began working as a freelance web designer and engineer. I handled everything from design and development to operation and advertising, delivering comprehensive solutions for various clients.
In 2016 I joined Wemotion as CTO, where I built the engineering team from the ground up and led the development of core web and mobile applications for three years.
In 2019 I joined matsuri technologies as a Frontend Expert, and in 2020 I also began serving as a technical manager supporting streamers and content creators.
I'm so grateful to be working in this field, doing something that brings me so much joy. Thanks for stopping by.