mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
11 lines
237 B
TypeScript
11 lines
237 B
TypeScript
import { test } from 'tap'
|
|
import { build } from '../helper'
|
|
|
|
test('default root route', async t => {
|
|
const app = await build(t)
|
|
|
|
const res = await app.inject({
|
|
url: '/',
|
|
})
|
|
t.same(JSON.parse(res.payload), { root: true })
|
|
})
|