Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vitest compatibility #209

Open
ManuPerezDev opened this issue Mar 12, 2024 · 3 comments
Open

Vitest compatibility #209

ManuPerezDev opened this issue Mar 12, 2024 · 3 comments

Comments

@ManuPerezDev
Copy link

We are trying to run our project with node-dependency-injection and Vitest.

Our tests fails once we need to load yaml files when we start the application to run e2e tests.

image

Any idea of what could be happening?

We are using:

  • TypeScript 5.3.3
  • Node Dependency Injection 3.1.2
  • Vitest 1.3.1
@ManuPerezDev
Copy link
Author

We manually registering the services and It works but the yaml loader does not.

@zazoomauro
Copy link
Owner

@ManuPerezDev can you provide the configuration?

@AlejandroPerez92
Copy link

Do you only encounter the error with Vitest? I have a similar issue in a Nuxt3 project, I have only managed to get it working by registering the services in TypeScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants