9 lines
326 B
TypeScript
9 lines
326 B
TypeScript
import test from 'node:test'
|
|
import assert from 'node:assert/strict'
|
|
const ENABLED = process.env.RELEASE_SMOKE === '1'
|
|
test('release_smoke', { skip: !ENABLED }, async () => {
|
|
const base = process.env.AIIMAGE_LIVE_BASE || 'http://127.0.0.1:18080'
|
|
const res = await fetch(`${base}/login`)
|
|
assert.equal(res.status, 200)
|
|
})
|