mirror of
https://github.com/ringtools/ringtools-server-ts.git
synced 2024-05-16 05:44:40 +02:00
15 lines
271 B
TypeScript
15 lines
271 B
TypeScript
import {testBuild} from './helper';
|
|
|
|
|
|
describe('app tests', () => {
|
|
const app = testBuild();
|
|
|
|
test('requests the "/" route', async () => {
|
|
const res = await app.inject({
|
|
method: 'GET',
|
|
url: '/',
|
|
});
|
|
expect(res.statusCode).toBe(404);
|
|
});
|
|
});
|