Skip to content

Commit 4a3c08c

Browse files
authored
test: remove 404 test has code always fallback to index.html
1 parent 00d2275 commit 4a3c08c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/e2e/fastify-adapter.e2e-spec.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,6 @@ describe('Fastify adapter', () => {
8080
});
8181
});
8282

83-
describe('when trying to get a non-existing file', () => {
84-
it('should return 404', async () => {
85-
return app
86-
.inject({
87-
method: 'GET',
88-
url: '/404'
89-
})
90-
.then((result) => {
91-
expect(result.statusCode).toEqual(404);
92-
});
93-
});
94-
});
95-
9683
afterAll(async () => {
9784
await app.close();
9885
});

0 commit comments

Comments
 (0)