test-utils
test-utils copied to clipboard
🧪 Test utilities for Nuxt
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-node](https://togithub.com/actions/setup-node) | action | major | `v2` -> `v3` | ---...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v2` -> `v3` | ---...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://togithub.com/actions/cache) | action | major | `v2` -> `v3` | ---...
I'm trying to test the provided [example](https://test-utils.nuxtjs.org/api-reference/app-testing#example) in documentation. that is: ``` import { get, setupTest } from '@nuxt/test-utils' describe('ssr', () => { setupTest({ server: true }) it('renders the index...
Hello! :) Since the release candidate of Nuxt 3 came out last month, many dependencies to do with Nuxt and its modules/libraries are broken. I can't install @nuxt/test-utils on a...
I have a nuxt project here using typescript in components placed in .vue files Given this test for a component ```typescript import { mount } from '@nuxt/test-utils' import LoginForm from...
 # Problem: ```Setup >``` links to itself # Expectation: ```Setup >``` should link to ```Testing an app```
I think, using fibers in project crashes `setupTest` package.json ``` { "scripts": { "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", "generate": "nuxt generate", "lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore...
Would it be possible to use this to run unit tests against a plugin? or HTTP requests in a plugin?
Try running `yarn test` in https://codesandbox.io/s/optimistic-maxwell-l1dmx?file=/tests/test.spec.js