Hey folks, looking at getting into using vitest for testing a discord bot but having problems when it tries to import discord-api-types. Of note, i tried this without the wrangler integration and just using vitest on its own and the test is fine, its only when i configure vitest with the wrangler integration that it fails.
FAIL src/impl.test.mts [ src/impl.test.mts ]Error: No such module "C:/git/vitest-wrangler-discord-api-types/node_modules/discord-api-types/v10.js". imported from "C:/git/vitest-wrangler-discord-api-types/node_modules/discord-api-types/v10.mjs"
FAIL src/impl.test.mts [ src/impl.test.mts ]Error: No such module "C:/git/vitest-wrangler-discord-api-types/node_modules/discord-api-types/v10.js". imported from "C:/git/vitest-wrangler-discord-api-types/node_modules/discord-api-types/v10.mjs"