You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ assignees: ''
15
15
16
16
**To Reproduce**
17
17
<!-- A link to a minimal reproduction (with the minimum code to reproduce the issue).
18
-
It takes just a few minutes to build a repro online with https://stackblitz.com/fork/github/vitest-dev/vitest/tree/main/examples/vue?initialPath=__vitest__
18
+
It takes just a few minutes to build a repro online with https://stackblitz.com/github/vuejs/create-vue-templates/tree/main/typescript-vitest?file=src%2Fcomponents%2F__tests__%2FHelloWorld.spec.ts
[Vue warn]: Failed setting prop "prefix" on <component-stub>: value foo is invalid.
9
+
TypeError: Cannot set property prefix of #<Element> which has only a getter
10
+
```
11
+
12
+
Cet avertissement est affiché si vous utilisez `shallowMount` ou `stubs` avec une propriété dont le nom est celui de l'une des propriétés de [`Element`](https://developer.mozilla.org/fr-FR/docs/Web/API/Element).
13
+
14
+
Parmi les noms de propriétés courants partagés avec `Element` figurent :
[Vue warn]: Failed setting prop "prefix" on <component-stub>: value foo is invalid.
9
+
TypeError: Cannot set property prefix of #<Element> which has only a getter
10
+
```
11
+
12
+
This warning is shown in case you are using `shallowMount` or `stubs` with a property name that is shared with [`Element`](https://developer.mozilla.org/en-US/docs/Web/API/Element).
13
+
14
+
Common property names that are shared with `Element`:
0 commit comments