vyaakaran icon indicating copy to clipboard operation
vyaakaran copied to clipboard

Unit testing setup

Open blenderskool opened this issue 8 months ago • 2 comments

Unit testing setup with possibly Vitest for the compiler and editor module that will allow us to write unit tests for different parts of the codebase.

Why Vitest

  • Works out-of-the-box with TypeScript.
  • Has similar syntax to Jest.
  • Editor already uses Vite, so using Vitest makes sense.
  • Has UI and extensions with IDEs to interactively run tests.

blenderskool avatar Jun 22 '24 18:06 blenderskool