Skip to content

Merge branch 'develop' into encrypt_email #57

Merge branch 'develop' into encrypt_email

Merge branch 'develop' into encrypt_email #57

Triggered via push November 4, 2024 11:19
Status Failure
Total duration 5m 16s
Artifacts

push.yml

on: push
Matrix: Testing Application
Check Schema
31s
Check Schema
Deploying Application to Cloud VPS
0s
Deploying Application to Cloud VPS
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Check Schema
Failed to load 'schema.graphql' (ref: refs/pull/2627/merge)
tests/utilities/adminCheck.spec.ts: 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
tests/utilities/auth.spec.ts: 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
tests/utilities/checks.spec.ts: 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
tests/utilities/createSampleOrganizationUtil.spec.ts > generateUserData function > should return correct properties given ADMIN userType and organization Id: 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
tests/utilities/createSampleOrganizationUtil.spec.ts > generateUserData function > should return User with correct properties: 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
tests/utilities/createSampleOrganizationUtil.spec.ts > generateUserData function > should return Event with correct properties: 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
tests/utilities/createSampleOrganizationUtil.spec.ts > generatePostData function > should return Post with the correct properties: 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
tests/utilities/createSampleOrganizationUtil.spec.ts > generatePostData function > generateRandomPlugins function > should generate and save the specified number of plugins with correct properties: 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
tests/utilities/encryptionModule.spec.ts > encryptionModule > encryptEmail and decryptEmail > should encrypt and decrypt an email correctly: src/utilities/encryption.ts#L32
Error: Encryption key is not defined. ❯ Module.encryptEmail src/utilities/encryption.ts:32:11 ❯ tests/utilities/encryptionModule.spec.ts:30:38
tests/utilities/encryptionModule.spec.ts > encryptionModule > encryptEmail and decryptEmail > should handle email addresses with special characters: src/utilities/encryption.ts#L34
Error: Encryption key must be a 256-bit hexadecimal string (64 characters). ❯ Module.encryptEmail src/utilities/encryption.ts:34:11 ❯ tests/utilities/encryptionModule.spec.ts:53:25