Skip to content

Email assistant

Email assistant #311

Triggered via pull request January 23, 2025 19:42
Status Failure
Total duration 54s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should return true when recipient is user's assistant email: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:6:20
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should return false when recipient is not user's assistant email: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:14:20
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should return false when recipient has different format: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:22:20
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should handle email addresses with multiple dots: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:30:20
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should handle recipient email with display name and angle brackets: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:38:20
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should reject malicious suffix injection: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:46:20
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should reject multiple plus signs: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:54:20
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should reject assistant in wrong position: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:62:20
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should reject case manipulation: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:70:20
utils/assistant/is-assistant-email.test.ts > isAssistantEmail > should match valid assistant email with number: apps/web/utils/email.ts#L26
TypeError: Cannot read properties of undefined (reading 'match') ❯ Module.extractEmailAddress utils/email.ts:26:23 ❯ Module.isAssistantEmail utils/assistant/is-assistant-email.ts:13:33 ❯ utils/assistant/is-assistant-email.test.ts:78:20
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636