mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
12 lines
239 B
TypeScript
12 lines
239 B
TypeScript
import { test } from 'tap'
|
|
import { build } from '../helper'
|
|
|
|
test('example is loaded', async t => {
|
|
const app = await build(t)
|
|
|
|
const res = await app.inject({
|
|
url: '/example',
|
|
})
|
|
|
|
t.equal(res.payload, 'this is an example')
|
|
})
|