Skip to content

fix(lint): fix unused import #87

fix(lint): fix unused import

fix(lint): fix unused import #87

Re-run triggered August 14, 2024 09:51
Status Failure
Total duration 38s
Artifacts

deployment.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
tests/unit/passwords.spec.ts > Passwords > Passwords should be hashed in the database: app/lib/crypto.server.ts#L6
TypeError: The "password" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undefined ❯ key app/lib/crypto.server.ts:6:5 ❯ Module.getCryptoSuite app/lib/crypto.server.ts:6:5 ❯ Module.action app/routes/app.passwords.add.tsx:59:17 ❯ tests/unit/passwords.spec.ts:29:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
tests/unit/passwords.spec.ts > Passwords > Passwords should have permissions applied to them: app/lib/crypto.server.ts#L6
TypeError: The "password" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undefined ❯ key app/lib/crypto.server.ts:6:5 ❯ Module.getCryptoSuite app/lib/crypto.server.ts:6:5 ❯ Module.action app/routes/app.passwords.add.tsx:59:17 ❯ tests/unit/passwords.spec.ts:76:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
🧪Test
Process completed with exit code 1.