ConusAI vendor v0.1.0-dev.20261027+9b1131fb
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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.json (schema: crates/conusai-presets/src/repo_config.rs,
|
||||
// `health_check.path`).
|
||||
describe('conusai.json', () => {
|
||||
const config = JSON.parse(readFileSync(new URL('../conusai.json', import.meta.url), 'utf8'))
|
||||
|
||||
it('declares the health check path the app actually serves', () => {
|
||||
expect(config.health_check.path).toBe('/api/health')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user