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

Detect rootDir if not defined #346

Closed
ricardogobbosouza opened this issue Mar 6, 2021 · 1 comment · Fixed by #107
Closed

Detect rootDir if not defined #346

ricardogobbosouza opened this issue Mar 6, 2021 · 1 comment · Fixed by #107

Comments

@ricardogobbosouza
Copy link
Collaborator

In the beginning the objective of this package was to test modules and with that its initial context was defined for that.

To test applications built with nuxt we usually have to use a root folder in the config fixture.

We may be able to detect this automatically:

  • When using modules, use a folder fixture
  • When applying, use the project root
@pi0 pi0 changed the title Detect App/Module context Detect rootDir if not defined Mar 6, 2021
@ricardogobbosouza
Copy link
Collaborator Author

Related #279

@pi0 pi0 closed this as completed in #107 Apr 8, 2021
danielroe referenced this issue Nov 20, 2023
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
danielroe referenced this issue Nov 21, 2023
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
@danielroe danielroe transferred this issue from nuxt/test-utils Dec 2, 2023
@danielroe danielroe mentioned this issue Dec 2, 2023
userquin pushed a commit to userquin/test-utils that referenced this issue Mar 17, 2024
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

Successfully merging a pull request may close this issue.

1 participant