File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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} )
You can’t perform that action at this time.
0 commit comments