Ft product ms #8
Annotations
8 errors and 1 warning
__tests__/decrypt.test.ts > logs an error if decryption fails:
customer/__tests__/decrypt.test.ts#L34
AssertionError: expected 'Cannot read properties of undefined (…' to be 'Unable to decrypt' // Object.is equality
- Expected
+ Received
- Unable to decrypt
+ Cannot read properties of undefined (reading 'log')
❯ __tests__/decrypt.test.ts:34:23
|
__tests__/decryptSignedCipher.test.ts > throws an error if MAC authentication fails:
customer/__tests__/decryptSignedCipher.test.ts#L26
Error: Trying to stub property 'log' of undefined
❯ throwOnFalsyObject node_modules/sinon/pkg/sinon-esm.js:4144:15
❯ Function.stub node_modules/sinon/pkg/sinon-esm.js:3957:24
❯ Sandbox.stub node_modules/sinon/pkg/sinon-esm.js:3433:39
❯ __tests__/decryptSignedCipher.test.ts:26:21
|
__tests__/encryptDecrypt.test.ts > encrypts a string:
customer/src/utils/encryptDecrypt.ts#L35
TypeError: Cannot read properties of undefined (reading 'log')
❯ Module.encrypt src/utils/encryptDecrypt.ts:35:14
❯ __tests__/encryptDecrypt.test.ts:6:18
|
__tests__/encryptDecrypt.test.ts > throws an error when the input is not a string:
customer/__tests__/encryptDecrypt.test.ts#L17
AssertionError: expected 'Cannot read properties of undefined (…' to be 'Wrong format passed.' // Object.is equality
- Expected
+ Received
- Wrong format passed.
+ Cannot read properties of undefined (reading 'log')
❯ __tests__/encryptDecrypt.test.ts:17:27
|
__tests__/encryptSign.test.ts > encrypts and signs a plain text:
customer/src/utils/ApiPayloadEncryption/encryptSign.ts#L26
TypeError: Cannot read properties of undefined (reading 'log')
❯ Module.encryptSign [as default] src/utils/ApiPayloadEncryption/encryptSign.ts:26:12
❯ __tests__/encryptSign.test.ts:16:18
|
__tests__/encryptSign.test.ts > logs an error if encryption fails:
customer/__tests__/encryptSign.test.ts#L36
Error: Trying to stub property 'log' of undefined
❯ throwOnFalsyObject node_modules/sinon/pkg/sinon-esm.js:4144:15
❯ Function.stub node_modules/sinon/pkg/sinon-esm.js:3957:24
❯ Sandbox.stub node_modules/sinon/pkg/sinon-esm.js:3433:39
❯ __tests__/encryptSign.test.ts:36:21
|
__tests__/getAlgorithim.test.ts > throws an error for an invalid key length:
customer/__tests__/getAlgorithim.test.ts#L20
Error: Trying to stub property 'log' of undefined
❯ throwOnFalsyObject node_modules/sinon/pkg/sinon-esm.js:4144:15
❯ Function.stub node_modules/sinon/pkg/sinon-esm.js:3957:24
❯ Sandbox.stub node_modules/sinon/pkg/sinon-esm.js:3433:39
❯ __tests__/getAlgorithim.test.ts:20:21
|
ci_verification (18.x)
Process completed with exit code 1.
|
ci_verification (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|