Environment
|
|
| Operating system |
macOS 25.2.0 |
| CPU |
Apple M3 Max (14 cores) |
| Node.js version |
v22.14.0 |
| nuxt/cli version |
3.32.0 |
| Package manager |
pnpm@10.28.0 |
| Nuxt version |
4.2.2 |
| Nitro version |
2.12.9 |
| Builder |
vite@7.3.0 |
| Config |
- |
| Modules |
- |
Reproduction
// Mount a component
const { rerender } = await renderSuspended(Foo, {
props: {
attribute: {
key: 'platform',
values: [
{ value: 'Airlines', api_count: 3 },
{ value: 'Airport', api_count: 0 },
],
},
},
})
// ...assertions
// Rerender with new props
await rerender({ attribute: {
key: 'domain',
values: [
{ value: 'Internal', api_count: 2 },
{ value: 'External', api_count: 0 },
],
}})
See output: ReferenceError: nextTick is not defined
Describe the bug
After upgrading to @nuxt/test-utils@3.23.0 calling rerender with new props throws ReferenceError: nextTick is not defined
Additional context
This appears to originate from here #1522
Logs