mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 05:08:04 +00:00
11 lines
238 B
TypeScript
11 lines
238 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 })
|
|
})
|