mirror of
https://github.com/ringtools/ringtools-server-ts.git
synced 2024-05-16 05:44:40 +02:00
14 lines
305 B
TypeScript
14 lines
305 B
TypeScript
import {testBuild} from '../helper';
|
|
|
|
describe('main controller tests', () => {
|
|
const app = testBuild();
|
|
|
|
test('Main controller should do nothing', async () => {
|
|
const response = await app.inject({
|
|
url: '/',
|
|
method: 'GET',
|
|
});
|
|
|
|
expect(response.statusCode).toBe(404);
|
|
});
|
|
});
|