タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

TypeScriptとtestingとVitestに関するjay-esのブックマーク (1)

  • Vitest

    Vitest allows you to write tests for your types, using expectTypeOf or assertType syntaxes. By default all tests inside *.test-d.ts files are considered type tests, but you can change it with typecheck.include config option. Under the hood Vitest calls tsc or vue-tsc, depending on your config, and parses results. Vitest will also print out type errors in your source code, if it finds any. You can

    Vitest
    jay-es
    jay-es 2024/12/21
    Vitest での型のテスト。*.test-d.ts にテストケースを書き、`vitest --typecheck` で実行
  • 1