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.