Skip to content

Commit

Permalink
test(headers): skip for the static server
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Oct 21, 2023
1 parent 41d7839 commit 986b8b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/e2e/specs/server/headers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { test, expect } from '@playwright/test'

test.describe('headers middleware', () => {
test('sets the correct security headers', async ({ request }) => {
if (process.env.VIO_SERVER === 'static') return

const headers = (await request.get('/')).headers()

// expect(JSON.stringify(headers)).toMatchSnapshot()
Expand Down

0 comments on commit 986b8b2

Please sign in to comment.