mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
How to add a unit test
- Create a new directory in
testdata
- Name a go file
<directory_name>.go
. This file will generate the typescript. - Name the expected typescript file
<directory_name>.ts
. This is the unit test's expected output.