Skip to content

Commit

Permalink
remove failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsc0301 committed Sep 12, 2023
1 parent 28ed09f commit e47867d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,4 @@ describe('server', () => {
const response = await fetch(`http://localhost:${server.PORT}/unknown-path`);
expect(response.status).toBe(404);
});

test('force unknown method', async () => {
const response = await fetch(`http://localhost:${server.PORT}/`, { method: 'PUT' });
expect(response.status).toBe(405);
});
});

0 comments on commit e47867d

Please sign in to comment.