import { agent } from '../jest.setup';

/**
 * 404 not found
 */
describe('404 not found', () => {
  it('should return 404 on unknown API route', async () => {
    await agent.get('/fake').accept('json').expect(404);
  });

  it('should return 404 on unknown API route method', async () => {
    await agent.post('/health').accept('json').expect(404);
  });
});
