BAU: Bump the eslint group across 1 directory with 5 updates #2285
check-pr.yml
on: pull_request
Preview
/
Build SAM app
1m 23s
pre-commit
48s
Run tests
/
Unit
1m 13s
Annotations
9 errors
|
Run tests / API
Process completed with exit code 1.
|
|
Given there is a ./well-known/jwks with a key to encrypt claims › when key rotation is enabled and legacy fallback feature is enabled › Check HMRC CRI › and successfully receives a 201 created with a valid session id:
integration-tests/api-gateway/cri-decrypt-verify/index.test.ts#L155
ValidationException: The provided key element does not match the schema
at throwDefaultError (../../node_modules/@smithy/smithy-client/dist-cjs/index.js:388:20)
at ../../node_modules/@smithy/smithy-client/dist-cjs/index.js:397:5
at de_CommandError (../../node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js:2297:14)
at ../../node_modules/@smithy/middleware-serde/dist-cjs/index.js:36:20
at ../../node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:163:30
at ../../node_modules/@smithy/core/dist-cjs/index.js:193:18
at ../../node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38
at ../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
at async Promise.all (index 0)
at Object.<anonymous> (cri-decrypt-verify/index.test.ts:155:11)
|
|
Given there is a ./well-known/jwks with a key to encrypt claims › when key rotation is enabled and legacy fallback feature is enabled › Check HMRC CRI › and successfully receives a 201 created with a valid session id:
integration-tests/api-gateway/cri-decrypt-verify/index.test.ts#L173
expect(received).toEqual(expected) // deep equality
Expected: 201
Received: 400
at Object.<anonymous> (cri-decrypt-verify/index.test.ts:173:42)
|
|
Given there is a ./well-known/jwks with a key to encrypt claims › when key rotation is enabled and legacy fallback feature is enabled › Check HMRC CRI › session endpoint is called:
integration-tests/api-gateway/cri-decrypt-verify/index.test.ts#L155
ValidationException: The provided key element does not match the schema
at throwDefaultError (../../node_modules/@smithy/smithy-client/dist-cjs/index.js:388:20)
at ../../node_modules/@smithy/smithy-client/dist-cjs/index.js:397:5
at de_CommandError (../../node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js:2297:14)
at ../../node_modules/@smithy/middleware-serde/dist-cjs/index.js:36:20
at ../../node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:163:30
at ../../node_modules/@smithy/core/dist-cjs/index.js:193:18
at ../../node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38
at ../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
at async Promise.all (index 0)
at Object.<anonymous> (cri-decrypt-verify/index.test.ts:155:11)
|
|
Given there is a ./well-known/jwks with a key to encrypt claims › when key rotation is enabled and legacy fallback feature is enabled › and response is verified successfully:
integration-tests/api-gateway/cri-decrypt-verify/index.test.ts#L101
expect(received).toBe(expected) // Object.is equality
Expected: "ES256"
Received: undefined
at Object.<anonymous> (cri-decrypt-verify/index.test.ts:101:57)
|
|
Given there is a ./well-known/jwks with a key to encrypt claims › when key rotation is enabled and legacy fallback feature is enabled › then the response can be decrypted:
integration-tests/api-gateway/cri-decrypt-verify/index.test.ts#L85
TypeError: Cannot read properties of undefined (reading 'request')
at Object.<anonymous> (cri-decrypt-verify/index.test.ts:85:27)
|
|
Given there is a ./well-known/jwks with a key to encrypt claims › when key rotation is enabled and legacy fallback feature is enabled › any KMS aliases succeeds in decryption when key rotation is enabled and legacy fallback feature is enabled:
integration-tests/api-gateway/cri-decrypt-verify/index.test.ts#L75
TypeError: Cannot read properties of undefined (reading 'request')
at Object.<anonymous> (cri-decrypt-verify/index.test.ts:75:50)
|
|
Given there is a ./well-known/jwks with a key to encrypt claims › when key rotation is enabled and legacy fallback feature is enabled › and the request is successful:
integration-tests/api-gateway/cri-decrypt-verify/index.test.ts#L68
TypeError: Cannot read properties of undefined (reading 'status')
at Object.<anonymous> (cri-decrypt-verify/index.test.ts:68:25)
|
|
Given there is a ./well-known/jwks with a key to encrypt claims › when key rotation is enabled and legacy fallback feature is enabled › then the headless core stub makes a request to the Start Endpoint:
integration-tests/api-gateway/cri-decrypt-verify/index.test.ts#L62
thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at cri-decrypt-verify/index.test.ts:62:7
at cri-decrypt-verify/index.test.ts:61:5
at Array.forEach (<anonymous>)
at Object.<anonymous> (cri-decrypt-verify/index.test.ts:28:3)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage
|
4.69 KB |
sha256:4480529c4f43995f9aef8599f91ed15d6ad9270db62794c692ec4f0b7007149f
|
|