module-federation / vite

Vite Plugin for Module Federation
MIT License
346 stars 30 forks source link

Tests failure when using Vitest and module-federation/vite together #203

Open theohagos opened 1 day ago

theohagos commented 1 day ago

@module-federation/vite@1.1.8 vite@5.2.0, vitest@1.6.0

When running test the following error is thrown TypeError: Method Promise.prototype.then called on incompatible receiver [object Module]

theohagos commented 1 day ago

Upgraded to vitest@2.1.5 but the end result is the same :(

gioboa commented 17 hours ago

Hi @theohagos can you create a basic example with that shows this issue please?