ringtools-server-ts/test/app.test.ts

15 lines
271 B
TypeScript
Raw Normal View History

2022-01-14 01:38:58 +01:00
import {testBuild} from './helper';
2022-01-14 01:20:19 +01:00
describe('app tests', () => {
const app = testBuild();
test('requests the "/" route', async () => {
const res = await app.inject({
method: 'GET',
url: '/',
});
expect(res.statusCode).toBe(404);
2022-01-14 01:20:19 +01:00
});
});