yes
This commit is contained in:
parent
2f991d9743
commit
985c636360
36 changed files with 6507 additions and 2 deletions
13
src/user-icons/test/routes/example.test.ts
Normal file
13
src/user-icons/test/routes/example.test.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { test } from 'node:test'
|
||||
import * as assert from 'node:assert'
|
||||
import { build } from '../helper.js'
|
||||
|
||||
test('example is loaded', async (t) => {
|
||||
const app = await build(t)
|
||||
|
||||
const res = await app.inject({
|
||||
url: '/example'
|
||||
})
|
||||
|
||||
assert.equal(res.payload, 'this is an example')
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue