Too Long; Didn't Read
Use Comments to Unit Test Your Code [A How-To Guide] At Supabase we love writing as little code as possible. We decided to combine our unit tests with the same JSDoc comments that power VSCode's IntelliSense. Elixir has the additional benefit that you can use these comments to run your tests: @supabase/doctest-js. You can see it in action over at our postgrest-js library: The library uses a similar format to Elixir's Doctests.