mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* 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]>
13 lines
247 B
Jsonnet
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
|
|
)
|
|
)
|