This commit is contained in:
Maieul BOYER 2025-06-13 23:38:13 +02:00
parent 2f991d9743
commit 985c636360
No known key found for this signature in database
36 changed files with 6507 additions and 2 deletions

View file

@ -0,0 +1,12 @@
import { test } from 'node:test'
import * as assert from 'node:assert'
import { build } from '../helper.js'
test('default root route', async (t) => {
const app = await build(t)
const res = await app.inject({
url: '/'
})
assert.deepStrictEqual(JSON.parse(res.payload), { root: true })
})