Skip to content

Commit 6a6a879

Browse files
[autofix.ci] apply automated fixes
1 parent 4f03334 commit 6a6a879

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/unit/modules/security-headers.spec.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ describe('security headers module', () => {
7777
const csp = getCsp(nuxt)
7878

7979
expect(csp).toContain('ws://localhost:*')
80-
expect(csp).toContain("frame-src https://bsky.app https://pdsmoover.com https://www.youtube-nocookie.com/ 'self'")
80+
expect(csp).toContain(
81+
"frame-src https://bsky.app https://pdsmoover.com https://www.youtube-nocookie.com/ 'self'",
82+
)
8183
expect(nuxt.options.routeRules['/**']?.headers).toEqual(
8284
expect.objectContaining({
8385
'Permissions-Policy': 'camera=()',
@@ -110,7 +112,9 @@ describe('security headers module', () => {
110112
const csp = getCsp(nuxt)
111113

112114
expect(csp).not.toContain('ws://localhost:*')
113-
expect(csp).not.toContain("frame-src https://bsky.app https://pdsmoover.com https://www.youtube-nocookie.com/ 'self'")
115+
expect(csp).not.toContain(
116+
"frame-src https://bsky.app https://pdsmoover.com https://www.youtube-nocookie.com/ 'self'",
117+
)
114118
expect(nuxt.options.routeRules['/__nuxt_devtools__/**']).toBeUndefined()
115119
})
116120
})

0 commit comments

Comments
 (0)