Skip to content

Upgrading from 4.0.12 -> 4.0.13 breaks tests #9148

@johnsimons

Description

@johnsimons

Describe the bug

Some tests in https://github.com/Particular/ServicePulse/blob/master/src/Frontend/test/specs/configuration/viewing-license.spec.ts use waitFor.
These tests happily pass when run with 4.0.12, but when I attempted to upgrade to 4.0.13 or higher, they started failing.
Quite possible, this is my own wrongdoing, but I am unsure what is wrong!
Could this be a regression bug? I looked at v4.0.12...v4.0.13, and there aren't many changes, but TBH I'm not sure what to look for.
The PR that attempts the update is Particular/ServicePulse#2744.

Any help would be appreciated.

Reproduction

Get https://github.com/Particular/ServicePulse/
npm run test:application
// all tests pass
update both vitest + @vitest/coverage-v8 to v4.0.13
npm run test:application
// tests in viewing-license.spec.ts fail

System Info

System:
    OS: macOS 26.1
    CPU: (12) arm64 Apple M3 Pro
    Memory: 4.37 GB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.11.1 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 11.6.2 - /usr/local/bin/npm
    pnpm: 10.18.1 - /usr/local/bin/pnpm
  Browsers:
    Chrome: 141.0.7390.123
    Safari: 26.1
  npmPackages:
    @vitejs/plugin-vue: 6.0.2 => 6.0.2 
    @vitest/coverage-v8: 4.0.13 => 4.0.13 
    vite: 7.2.6 => 7.2.6 
    vitest: 4.0.13 => 4.0.13

Used Package Manager

npm

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions