2022-10-20 08:15:24 -05:00
|
|
|
# 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.
|