coder/scripts/apitypings/testdata
Cian Johnston 56b996532f
feat: add --experiments flag to replace --experimental (#5767)
- Deprecates the --experimental flag
- Adds a new flag --experiments which supports passing multiple comma-separated values or a wildcard value.
- Exposes a new endpoint /api/v2/experiments that returns the list of enabled experiments.
- Deprecates the field Features.Experimental in favour of this new API.
- Updates apidocgen to support type aliases (shoutout to @mtojek).
- Modifies apitypings to support generating slice types.
- Updates develop.sh to pass additional args after -- to $CODERD_SHIM.
2023-01-18 19:12:53 +00:00
..
enums feat: add --experiments flag to replace --experimental (#5767) 2023-01-18 19:12:53 +00:00
generics OAuth now uses client TLS certs (if configured) (#5042) 2022-11-13 14:15:06 -06:00
README.md chore: Add generics to typescript generator (#4664) 2022-10-20 08:15:24 -05:00

README.md

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.