ConusAI vendor v0.1.0-dev.20261013+85463d22
This commit is contained in:
parent
c3c6526952
commit
0da8a2a81b
@@ -0,0 +1,13 @@
|
||||
import { readFileSync } from 'node:fs'
|
||||
import { describe, expect, it } from 'vitest'
|
||||
|
||||
// The deployer's default health probe is "/" (deploy_image.rs), which renders
|
||||
// this app's dashboard; the template must ship its real health route in
|
||||
// .conusai.yaml (schema: crates/conusai-repo-config, `health.path`).
|
||||
describe('.conusai.yaml', () => {
|
||||
const yaml = readFileSync(new URL('../.conusai.yaml', import.meta.url), 'utf8')
|
||||
|
||||
it('declares the health check path the app actually serves', () => {
|
||||
expect(yaml).toMatch(/^health:\n(\s{2}.*\n)*\s{2}path: \/api\/health\s*$/m)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user