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 not working #21

Open
eliasbiagioninc opened this issue Aug 30, 2023 · 0 comments
Open

Vitest not working #21

eliasbiagioninc opened this issue Aug 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@eliasbiagioninc
Copy link

Trying to import a component, that use tn-models, in the test file gives this error.
image

After a research, I could find that .mjs files, must use file extensions when importing modules. Ie import Form, { FormField, FormArray } from './forms.js'; insted of import Form, { FormField, FormArray } from './forms'; . Even adding the file extensions, it appears more issues:
image

@eliasbiagioninc eliasbiagioninc added the bug Something isn't working label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant