ft_transcendence/src/user-icons/test/routes/example.test.ts
Maieul BOYER 985c636360
yes
2025-06-13 23:38:13 +02:00

13 lines
292 B
TypeScript

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')
})