Skip to content

[vitest-pool-workers] module fallback path resolution #12022

@vicb

Description

@vicb

The module fallback of vitest-pool-work looks for required files adding js extensions

This behavior is specific to require (see doc) but should not be used for imports. Then we should only it when the resolve method is === "require".

Note: #11917 (pending ATM) is correctly adding.json to the list.

Metadata

Metadata

Labels

vitestRelating to the Workers Vitest integration

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions