Skip to content

Connect/Business Layers - Update Vitest, Nuxt Test Utils and Vitest Coverage #32973

Closed

Description

@deetz99

Vitest, Nuxt Test Utils and Vitest Coverage have all had major releases recently (v4.X.X) which we should look at updating to.

There are some breaking changes and config updates to be aware of.

Vitest Migration Guide
Nuxt Test Utils release notes

Activity

  1. added
    Nuxt Layers
    on Mar 26, 2026
  2. self-assigned this
    on May 20, 2026
  3. deetz99 commented on May 22, 2026

    @deetz99
    CollaboratorAuthor

    Moving back to refinement.

    Significant changes are required to any tests that rely on the Nuxt instance (most of them). Conflicts with useRouter causing test failures even when the test or test subject does not rely on it which makes debugging extremely difficult.

    Future versions may fix this underlying router issue. TBD in future

  4. deetz99 commented on Oct 2, 2026

    @deetz99
    CollaboratorAuthor

    connect-nuxt portion completed in bcgov/connect-nuxt#203

  5. deetz99 commented on Oct 6, 2026

    @deetz99
    CollaboratorAuthor

    business-ui completed in #34946

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

Metadata

Metadata

Assignees

Labels

Colin EgressNuxt Layers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions