Skip to content

Test: broadcast email template asserts removed 'osc.earth' branding #366

Closed

Description

@neuromechanist

Failing test

test/broadcast.test.ts:100 — buildBroadcastHtml > wraps content in email template

expect(result).toContain("osc.earth");

Why it fails

Commit 11beefa ("Drop OSC branding from email footers and API docs") removed osc.earth from the email template, but the test wasn't updated alongside it. The assertion still expects the legacy footer string.

Fix

Update the assertion to match the current footer (e.g. nemar.org or remove the footer-domain check altogether).

Repro

cd backend
bun test test/broadcast.test.ts

Discovered while working on #340.

Activity

  1. added
    bug
    testing
    on Apr 27, 2026
  2. neuromechanist commented on May 14, 2026

    @neuromechanist
    ContributorAuthor

    Closing as duplicate of #452 (P1: 4 failing tests + add CI gate), which explicitly tracks this test along with #367 and #368.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtesting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions