encryption edit #60
Annotations
10 errors
Run the tests:
src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing
❯ Module.hashEmail src/utilities/hashEmail.ts:27:11
❯ createTestUser tests/helpers/userAndOrg.ts:23:23
❯ Module.createTestUserAndOrganization tests/helpers/userAndOrg.ts:107:26
❯ tests/utilities/adminCheck.spec.ts:28:28
|
Run the tests:
src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing
❯ Module.hashEmail src/utilities/hashEmail.ts:27:11
❯ createTestUser tests/helpers/user.ts:13:23
❯ Module.createTestUserFunc tests/helpers/user.ts:38:26
❯ tests/utilities/auth.spec.ts:30:16
|
Run the tests:
src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing
❯ Module.hashEmail src/utilities/hashEmail.ts:27:11
❯ createTestUser tests/helpers/userAndOrg.ts:23:23
❯ Module.createTestUserAndOrganization tests/helpers/userAndOrg.ts:107:26
❯ Module.createVolunteerAndActions tests/helpers/volunteers.ts:120:46
❯ tests/utilities/checks.spec.ts:64:11
|
Run the tests:
src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing
❯ Module.hashEmail src/utilities/hashEmail.ts:27:11
❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23
❯ tests/utilities/createSampleOrganizationUtil.spec.ts:28:28
|
Run the tests:
src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing
❯ Module.hashEmail src/utilities/hashEmail.ts:27:11
❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23
❯ tests/utilities/createSampleOrganizationUtil.spec.ts:49:28
|
Run the tests:
src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing
❯ Module.hashEmail src/utilities/hashEmail.ts:27:11
❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23
❯ tests/utilities/createSampleOrganizationUtil.spec.ts:70:13
|
Run the tests:
src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing
❯ Module.hashEmail src/utilities/hashEmail.ts:27:11
❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23
❯ tests/utilities/createSampleOrganizationUtil.spec.ts:98:13
|
Run the tests:
src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing
❯ Module.hashEmail src/utilities/hashEmail.ts:27:11
❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23
❯ tests/utilities/createSampleOrganizationUtil.spec.ts:126:15
|
Run the tests:
src/utilities/encryption.ts#L32
Error: Encryption key is not defined.
❯ Module.encryptEmail src/utilities/encryption.ts:32:11
❯ tests/utilities/encryptionModule.spec.ts:36:38
|
Run the tests:
tests/utilities/encryptionModule.spec.ts#L51
AssertionError: expected [Function] to throw error including 'Encryption key must be a 256-bit hexa…' but got 'Encryption key must be a valid 256-bi…'
Expected: "Encryption key must be a 256-bit hexadecimal string (64 characters)."
Received: "Encryption key must be a valid 256-bit hexadecimal string (64 characters)."
❯ tests/utilities/encryptionModule.spec.ts:51:54
|
Loading