Skip to content

Commit c43e6a9

Browse files
authored
Update wrapper.js
1 parent c758262 commit c43e6a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/test-utils/src/wrapper.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ export default class Wrapper implements BaseWrapper {
125125
*/
126126
destroy(): void {
127127
if (!this.isVueInstance() && !this.isFunctionalComponent) {
128-
throwError(`wrapper.destroy() can only be called on a Vue instance or functional component`)
128+
throwError(
129+
`wrapper.destroy() can only be called on a Vue instance or ` +
130+
`functional component.`
131+
)
129132
}
130133

131134
if (this.element.parentNode) {

0 commit comments

Comments
 (0)