---
title: "Comment by Raúl Escamilla on \"Setting up React Micro Frontends with Vite Module Federation using @originjs/vite-plugin-federation\" | Hashnode"
description: "Do you know how to configure test environment, I am having troubles cuz test with vitest are traying to load the remote url unsuccessfully. then, the components"
url: "https://hashnode.com/posts/vite-module-federation/6433f7885ab84a64d0ee806d/comment/64acaa8aa25b102014466247"
---

[Discussion](https://hashnode.com/posts/vite-module-federation/6433f7885ab84a64d0ee806d)

Comment [Setting up React Micro Frontends with Vite Module Federation using @originjs/vite-plugin-federation](https://hashnode.com/posts/vite-module-federation/6433f7885ab84a64d0ee806d)

[Raúl Escamilla](https://hashnode.com/@xzeggasv)

[Jul 11, 2023](https://hashnode.com/posts/vite-module-federation/6433f7885ab84a64d0ee806d/comment/64acaa8aa25b102014466247)

Do you know how to configure test environment, I am having troubles cuz test with vitest are traying to load the remote url unsuccessfully. then, the components in the host app are traying to navigate to remote components even when they have not unit test files.
