Skip to content

fix: prettier format failure in subscriptionReplay.test.js #550

Description

@heskew

Context

The `Format Check` CI job is currently failing on `main` with prettier flagging `unitTests/resources/subscriptionReplay.test.js`. Reported by the CI run on #547:

```
[warn] unitTests/resources/subscriptionReplay.test.js
[warn] Code style issues found in the above file. Run Prettier with --write to fix.
##[error]Process completed with exit code 1.
```

Run: https://github.com/HarperFast/harper/actions/runs/25920310025/job/76187304210

The file was recently modified by commit `8bbbc4c2` "yield every 100 entries in subscription catchup" which presumably introduced the formatting drift.

Goal

Run prettier with `--write` on `unitTests/resources/subscriptionReplay.test.js` and commit the result.

Approach

```
npm run format:check # confirm the failure surfaces locally
npm run format:write -- unitTests/resources/subscriptionReplay.test.js
npm run format:check # confirm clean
```

If the diff has unrelated drift in other files, scope the commit to just this file and flag the rest as a follow-up.

Success criteria

  • `npm run format:check` passes
  • The `Format Check` CI job passes on the resulting PR
  • No functional changes to the test file (only whitespace/formatting)

Scope

  • Single-file formatting fix only
  • Do NOT modify test logic or assertions
  • Do NOT re-format unrelated files in the same PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions