test: if origin response has a csp with a nonce, ensure we are not overriding it with a new value and that we are not adding any nonce attributes to the response body ourselves. #67
Annotations
4 errors and 1 warning
Run npm test:
tests/integration/test.test.ts#L187
AssertionError: expected '\'nonce-CUTtwBy5V5Txi22w5as7Tg808zMpp…' to deeply equal 'nonce-meow'
Expected: "nonce-meow"
Received: "'nonce-CUTtwBy5V5Txi22w5as7Tg808zMppu3+'"
❯ tests/integration/test.test.ts:187:60
|
Run npm test:
tests/integration/test.test.ts#L214
AssertionError: expected 'CUTtwBy5V5Txi22w5as7Tg808zMppu3+' to deeply equal 'nonce-meow'
Expected: "nonce-meow"
Received: "CUTtwBy5V5Txi22w5as7Tg808zMppu3+"
❯ tests/integration/test.test.ts:214:42
|
Run npm test:
tests/integration/test.test.ts#L221
AssertionError: expected 'CUTtwBy5V5Txi22w5as7Tg808zMppu3+' to deeply equal undefined
- Expected:
undefined
+ Received:
"CUTtwBy5V5Txi22w5as7Tg808zMppu3+"
❯ tests/integration/test.test.ts:221:42
|
Run npm test
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading