Typing is good but testing is better!?

This page summarizes the projects mentioned and recommended in the original post on /r/u_skarab42-dev

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • tsd

    Check TypeScript type definitions

  • But even with a very strict TS/ESLint configuration, you can't avoid a typing error. I looked for libraries to test types and I was very surprised to see that it is not a very common practice and there is not much choice. The most popular one seems to be tsd, unfortunately like all the other libs I found, it does not integrate with existing tools.

  • vite-plugin-vitest-typescript-assert

    🔥 TypeScript type assertion plugin for vitest

  • As a Vitest user I want to be able to test my types with it. So I wrote my own type assertion plugin for Vitest.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • vitest

    Next generation testing framework powered by Vite.

  • As a Vitest user I want to be able to test my types with it. So I wrote my own type assertion plugin for Vitest.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts