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

[v2] rewrite proxy for setupTest #274

Closed
ricardogobbosouza opened this issue Aug 5, 2020 · 1 comment
Closed

[v2] rewrite proxy for setupTest #274

ricardogobbosouza opened this issue Aug 5, 2020 · 1 comment

Comments

@ricardogobbosouza
Copy link
Collaborator

ricardogobbosouza commented Aug 5, 2020

describe('module', () => {
  const { nuxt } = setupTest({
    __dirname,
    fixture: 'example'
  })

  test('render',() => {
    // nuxt undefined
  })
})
@pi0
Copy link
Member

pi0 commented Aug 9, 2020

This won't be necessary anymore with #51. One can use getNuxt()

@pi0 pi0 closed this as completed Aug 9, 2020
@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

No branches or pull requests

2 participants