File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 152152 "mocha-account-template" : " cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/account-template-test.js" ,
153153 "mocha-acl-oidc" : " cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/acl-oidc-test.js" ,
154154 "mocha-authentication-oidc" : " cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/authentication-oidc-test.js" ,
155+ "mocha-header" : " cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/header-test.js" ,
155156 "prepublishOnly" : " npm test" ,
156157 "postpublish" : " git push --follow-tags" ,
157158 "test" : " npm run standard && npm run validate && npm run nyc" ,
Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ describe('Header handler', () => {
6060 } )
6161
6262 // FIXME: https://github.com/solid/node-solid-server/issues/1502
63- // describeHeaderTest('read/write/append/control for the user, nothing for the public', {
64- // resource: '/user-rwac-public-0',
65- // headers: {
66- // 'WAC-Allow': 'user="read write append control",public=""',
67- // 'Access-Control-Expose-Headers': /(^|,\s*)WAC-Allow(,|$)/
68- // }
69- // })
63+ describeHeaderTest ( 'read/write/append/control for the user, nothing for the public' , {
64+ resource : '/user-rwac-public-0' ,
65+ headers : {
66+ 'WAC-Allow' : 'user="read write append control",public=""' ,
67+ 'Access-Control-Expose-Headers' : / ( ^ | , \s * ) W A C - A l l o w ( , | $ ) /
68+ }
69+ } )
7070 } )
7171
7272 function describeHeaderTest ( label , { resource, headers } ) {
You can’t perform that action at this time.
0 commit comments