can pass in either a key or password string (#105) #398
test.yml
on: push
Node.js Latest Full
24s
Matrix: short
Demo Deploy
0s
Annotations
10 errors
Node.js Latest Full
Process completed with exit code 1.
|
Unhandled error:
encrypt-actions/index.js#L83
ReferenceError: CryptoKey is not defined
❯ Module.encryptActions encrypt-actions/index.js:83:25
❯ encrypt-actions/index.test.ts:68:3
This error originated in "encrypt-actions/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "encrypts and decrypts actions". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
encrypt-actions/index.js#L83
ReferenceError: CryptoKey is not defined
❯ Module.encryptActions encrypt-actions/index.js:83:25
❯ encrypt-actions/index.test.ts:69:3
This error originated in "encrypt-actions/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "encrypts and decrypts actions". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
encrypt-actions/index.js#L83
ReferenceError: CryptoKey is not defined
❯ Module.encryptActions encrypt-actions/index.js:83:25
❯ encrypt-actions/index.test.ts:107:3
This error originated in "encrypt-actions/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "ignores specific actions". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
encrypt-actions/index.js#L83
ReferenceError: CryptoKey is not defined
❯ Module.encryptActions encrypt-actions/index.js:83:25
❯ encrypt-actions/index.test.ts:108:3
This error originated in "encrypt-actions/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "ignores specific actions". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
encrypt-actions/index.js#L83
ReferenceError: CryptoKey is not defined
❯ Module.encryptActions encrypt-actions/index.js:83:25
❯ encrypt-actions/index.test.ts:140:3
This error originated in "encrypt-actions/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "cleans actions on server". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
encrypt-actions/index.test.ts > encrypts and decrypts actions:
encrypt-actions/index.test.ts#L76
AssertionError: expected [ [ 'sync', 1, …(2) ] ] to match object [ [ 'sync', 1, { …(3) }, …(1) ] ]
- Expected
+ Received
Array [
Array [
"sync",
1,
Object {
- "d": StringMatching /^[\w+/]+=?=?$/,
- "iv": StringMatching /^[\w+/]+=?=?$/,
- "type": "0",
+ "type": "sync",
+ "value": "secret",
},
Object {
"id": 1,
"time": Any<Number>,
},
],
]
❯ encrypt-actions/index.test.ts:76:37
|
encrypt-actions/index.test.ts > ignores specific actions:
encrypt-actions/index.test.ts#L119
AssertionError: expected [ [ 'sync', 1, …(2) ], …(1) ] to match object [ [ 'sync', 1, { …(3) }, …(1) ], …(1) ]
- Expected
+ Received
Array [
Array [
"sync",
1,
Object {
- "d": StringMatching /^[\w+/]+=?=?$/,
- "iv": StringMatching /^[\w+/]+=?=?$/,
- "type": "0",
+ "type": "sync",
},
Object {
"id": 1,
"time": Any<Number>,
},
],
Array [
"sync",
2,
Object {
"type": "server",
},
Object {
"id": 2,
"time": Any<Number>,
},
],
]
❯ encrypt-actions/index.test.ts:119:37
|
encrypt-actions/index.test.ts > cleans actions on server:
encrypt-actions/index.test.ts#L151
AssertionError: expected [] to match object [ [ 'sync', 2, { …(2) }, …(1) ] ]
- Expected
+ Received
- Array [
- Array [
- "sync",
- 2,
- Object {
- "id": "1 10:1:1 0",
- "type": "0/clean",
- },
- Object {
- "id": 2,
- "time": Any<Number>,
- },
- ],
- ]
+ Array []
❯ encrypt-actions/index.test.ts:151:36
|
Node.js 18 Quick
Process completed with exit code 1.
|