File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ 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 'self'" )
80+ expect ( csp ) . toContain ( "frame-src https://bsky.app https://pdsmoover.com https://www.youtube-nocookie.com/ 'self'" )
8181 expect ( nuxt . options . routeRules [ '/**' ] ?. headers ) . toEqual (
8282 expect . objectContaining ( {
8383 'Permissions-Policy' : 'camera=()' ,
@@ -110,7 +110,7 @@ describe('security headers module', () => {
110110 const csp = getCsp ( nuxt )
111111
112112 expect ( csp ) . not . toContain ( 'ws://localhost:*' )
113- expect ( csp ) . not . toContain ( "frame-src https://bsky.app https://pdsmoover.com 'self'" )
113+ expect ( csp ) . not . toContain ( "frame-src https://bsky.app https://pdsmoover.com https://www.youtube-nocookie.com/ 'self'" )
114114 expect ( nuxt . options . routeRules [ '/__nuxt_devtools__/**' ] ) . toBeUndefined ( )
115115 } )
116116} )
You can’t perform that action at this time.
0 commit comments