Merge branch 'develop' into encrypt_email #61
push.yml
on: push
Matrix: Testing Application
Check Schema
37s
Deploying Application to Cloud VPS
0s
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:36:38
|
tests/utilities/encryptionModule.spec.ts > encryptionModule > encryptEmail and decryptEmail > throws an error for an invalid encryption key:
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
|