Files
Zach LeslieandGitHub 661b5608c7 Begin unit testing jsonnet microservices (#2229)
* Attempt unit testing jsonnet microservices

Signed-off-by: Zach Leslie <[email protected]>

* Config update

* Update structure for microservices test

* Wire up CI to run the jsonnet tests

* Separate compile step, use output in first test

---------

Signed-off-by: Zach Leslie <[email protected]>
2023-06-07 16:28:49 +00:00

13 lines
247 B
Jsonnet

local default = import 'environments/default/main.jsonnet';
local base = import 'outputs/base.json';
local test = import 'testonnet/main.libsonnet';
test.new(std.thisFile)
+ test.case.new(
'Basic',
test.expect.eq(
default,
base
)
)