coder/scripts/apitypings/testdata/README.md

248 B

How to add a unit test

  1. Create a new directory in testdata
  2. Name a go file <directory_name>.go. This file will generate the typescript.
  3. Name the expected typescript file <directory_name>.ts. This is the unit test's expected output.