This website requires JavaScript.
Explore
Help
Sign In
selfhosted
/
coder
mirror of
https://github.com/coder/coder.git
Watch
1
Star
0
Fork
You've already forked coder
0
Code
Issues
Projects
Releases
Wiki
Activity
main
coder
/
scripts
/
apitypings
/
testdata
/
README.md
248 B
Raw
Permalink
Blame
History
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.