Skip to content

Can't use vitest-pool-workers with vite-plugin #9381

@marbemac

Description

@marbemac

What versions & operating system are you using?

Wrangler 4.16

Please provide a link to a minimal reproduction

No response

Describe the Bug

As the title indicates, what is the recommended way to use the new vite-plugin with vitest-pool-workers?

Attempting to use vitest-pool-workers on a CF vite project results in the error "Error: The assets property in your configuration is missing the required directory property.".

Image

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    vite-pluginRelating to the `@cloudflare/vite-plugin` packagevitestRelating to the Workers Vitest integration

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions