We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aa9f79 commit 44790afCopy full SHA for 44790af
packages/test-utils/src/wrapper.js
@@ -1,7 +1,7 @@
1
// @flow
2
3
import Vue from 'vue'
4
-import pretty from 'pretty';
+import pretty from 'pretty'
5
import getSelector from './get-selector'
6
import { REF_SELECTOR, FUNCTIONAL_OPTIONS, VUE_VERSION } from 'shared/consts'
7
import config from './config'
@@ -224,7 +224,7 @@ export default class Wrapper implements BaseWrapper {
224
*/
225
html(options?: HtmlOptions): string {
226
if (options && options.prettyPrint) {
227
- return pretty(this.element.outerHTML);
+ return pretty(this.element.outerHTML)
228
}
229
return this.element.outerHTML
230
0 commit comments