Skip to content

Commit

Permalink
restore test
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jul 20, 2022
1 parent 5ef88c7 commit 44381e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/kit/test/apps/basics/test/server.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,11 @@ test.describe('Static files', () => {
expect(await r2.json()).toEqual({ works: true });
});

test('Filenames are case-sensitive', async ({ request }) => {
const response = await request.get('/static.JSON');
expect(response.status()).toBe(404);
});

test('Serves symlinked asset', async ({ request }) => {
const response = await request.get('/symlink-from/hello.txt');
expect(response.status()).toBe(200);
Expand Down

0 comments on commit 44381e4

Please sign in to comment.