Skip to content

Rename the malformed test file webhook mapper.test.ts #105

Description

@Lakes41

Rename the malformed test file webhook mapper.test.ts

Difficulty: Intermediate
Type: Bug

Background: apps/dashboard/test/webhook mapper.test.ts contains a literal space in its filename, sitting alongside the correctly named webhook-mapper.test.ts-style siblings such as webhook.test.ts and webhook-validation.test.ts.

Problem: The stray space is inconsistent with every other test file in the repo, can break shell globbing/tooling on some CI or editor configurations, and looks like an accidental save-as.

Expected outcome: The file is renamed to webhook-mapper.test.ts (or merged into an existing mapper test file if content overlaps), with no loss of test coverage.

Suggested implementation:

  • git mv "apps/dashboard/test/webhook mapper.test.ts" apps/dashboard/test/webhook-mapper.test.ts
  • Verify the test still targets lib/activity/mapper.ts and imports resolve correctly.
  • Check package.json test glob patterns don't special-case the old name.

Acceptance criteria:

  • File is renamed with no spaces.
  • pnpm test (or the dashboard's test script) discovers and runs the renamed file.
  • No duplicate/overlapping test cases with mapper-related suites.

Likely affected files: apps/dashboard/test/webhook mapper.test.ts

Labels: bug, good first issue, tests, GrantFox OSS, Maybe Rewarded, Official Campaign | FWC26


Activity

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

    GrantFox OSSGrantFox Open Source Sponsorship program tagMaybe RewardedIssue may qualify for a reward upon successful completion per campaign rulesThird CampaignOfficial FWC26 campaign issue — eligible for campaign scoring and rewardsbugConfirmed defect or incorrect behavior that needs to be fixedgood first issueWell-scoped issue suitable for contributors making an initial contribution to the projectteststests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions