File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ describe(`owasp`, function () {
2929 expect (
3030 owasp . DEFAULT_OWASP_HEADERS [ "Permissions-Policy" ] . schema . default
3131 ) . to . be . equal ( permissionsPolicyDefault [ 0 ] . value ) ;
32- expect ( Object . keys ( owasp . DEFAULT_OWASP_HEADERS ) . length ) . to . be . equal ( 12 ) ;
32+ expect ( Object . keys ( owasp . DEFAULT_OWASP_HEADERS ) . length ) . to . be . equal ( 13 ) ;
3333 } ) ;
3434
3535 it ( `populates the defaults with information from a new OWASP release` , async function ( ) {
@@ -52,7 +52,7 @@ describe(`owasp`, function () {
5252 owasp . DEFAULT_OWASP_HEADERS [ "Cross-Origin-Embedder-Policy" ] . schema
5353 . default
5454 ) . to . be . equal ( newCrossOriginEmbedderPolicy [ 0 ] . value ) ;
55- expect ( Object . keys ( owasp . DEFAULT_OWASP_HEADERS ) . length ) . to . be . equal ( 12 ) ;
55+ expect ( Object . keys ( owasp . DEFAULT_OWASP_HEADERS ) . length ) . to . be . equal ( 13 ) ;
5656 } ) ;
5757
5858 it ( `adds any properties contained in a new release` , async function ( ) {
@@ -73,7 +73,7 @@ describe(`owasp`, function () {
7373 expect ( owasp . DEFAULT_OWASP_HEADERS [ "x-added" ] . schema . default ) . to . be . equal (
7474 "true"
7575 ) ;
76- expect ( Object . keys ( owasp . DEFAULT_OWASP_HEADERS ) . length ) . to . be . equal ( 13 ) ;
76+ expect ( Object . keys ( owasp . DEFAULT_OWASP_HEADERS ) . length ) . to . be . equal ( 14 ) ;
7777 } ) ;
7878 } ) ;
7979
You can’t perform that action at this time.
0 commit comments