@nuxt/test-utils 3.15.0 → 3.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { defineEventHandler } from 'h3';
2
2
  import { mount } from '@vue/test-utils';
3
- import { reactive as reactive$1, h as h$1, Suspense, nextTick, getCurrentInstance, isReadonly, unref, effectScope } from 'vue';
3
+ import { reactive, h as h$1, Suspense, nextTick, getCurrentInstance, isReadonly, unref, effectScope } from 'vue';
4
4
  import { createDefu, defu } from 'defu';
5
5
  import { defineComponent, useRouter, h, tryUseNuxtApp } from '#imports';
6
6
  import NuxtRoot from '#build/root-component.mjs';
@@ -77,7 +77,7 @@ async function mountSuspended(component, options) {
77
77
  const { render, setup, data, computed, methods } = component;
78
78
  let setupContext;
79
79
  let setupState;
80
- const setProps = reactive$1({});
80
+ const setProps = reactive({});
81
81
  let passedProps;
82
82
  const wrappedSetup = async (props2, setupContext2) => {
83
83
  passedProps = props2;
@@ -201,7 +201,7 @@ const defuReplaceArray = createDefu((obj, key, value) => {
201
201
  }
202
202
  });
203
203
  function cloneProps$1(props) {
204
- const newProps = reactive$1({});
204
+ const newProps = reactive({});
205
205
  for (const key in props) {
206
206
  newProps[key] = props[key];
207
207
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/test-utils",
3
- "version": "3.15.0",
3
+ "version": "3.15.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/test-utils.git"
@@ -94,7 +94,7 @@
94
94
  "semver": "7.6.3",
95
95
  "typescript": "5.6.3",
96
96
  "unbuild": "latest",
97
- "unimport": "3.14.3",
97
+ "unimport": "3.14.4",
98
98
  "vitest": "2.1.8",
99
99
  "vue-router": "4.5.0",
100
100
  "vue-tsc": "2.1.10"