Skip to content

Commit 31c6922

Browse files
committed
fix: broken tests
1 parent 3deaf65 commit 31c6922

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ dist
44
test
55
coverage
66
example
7+
__snapshots__

test/__snapshots__/tranform-template.test.js.snap

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default ___CSS_LOADER_EXPORT___;
113113
`;
114114
115115
exports[`Transform template test should render vue: vue template 1`] = `
116-
"var render = function() {
116+
"var render = function () {
117117
var _vm = this
118118
var _h = _vm.$createElement
119119
var _c = _vm._self._c || _h
@@ -125,7 +125,7 @@ exports[`Transform template test should render vue: vue template 1`] = `
125125
{
126126
staticClass:
127127
\\"px-5 p-1 text-red hover:text-green-100 hover:rounded-full hover:bg-teal-900\\",
128-
class: { \\"bg-teal-100\\": true, \\"hover:w-1/3\\": true }
128+
class: { \\"bg-teal-100\\": true, \\"hover:w-1/3\\": true },
129129
},
130130
[_vm._v(\\"\\\\n\\\\t\\\\t\\\\t\\\\tHello World\\\\n\\\\t\\\\t\\\\t\\")]
131131
),
@@ -135,11 +135,11 @@ exports[`Transform template test should render vue: vue template 1`] = `
135135
_c(\\"div\\", { staticClass: \\"bar\\" }, [_vm._v(\\"\\\\n\\\\t\\\\t\\\\t\\\\tBar\\\\n\\\\t\\\\t\\\\t\\")]),
136136
_vm._v(\\" \\"),
137137
_c(\\"div\\", { staticClass: \\"bg-black bg-blue-200 bg-red-200\\" }, [
138-
_vm._v(\\"\\\\n\\\\t\\\\t\\\\t\\\\tWithout ! (red)\\\\n\\\\t\\\\t\\\\t\\")
138+
_vm._v(\\"\\\\n\\\\t\\\\t\\\\t\\\\tWithout ! (red)\\\\n\\\\t\\\\t\\\\t\\"),
139139
]),
140140
_vm._v(\\" \\"),
141141
_c(\\"div\\", { staticClass: \\"bg-black !bg-blue-200 bg-red-200\\" }, [
142-
_vm._v(\\"\\\\n\\\\t\\\\t\\\\t\\\\tWith ! (blue)\\\\n\\\\t\\\\t\\\\t\\")
142+
_vm._v(\\"\\\\n\\\\t\\\\t\\\\t\\\\tWith ! (blue)\\\\n\\\\t\\\\t\\\\t\\"),
143143
]),
144144
_vm._v(\\" \\"),
145145
_vm._m(0),
@@ -158,46 +158,46 @@ exports[`Transform template test should render vue: vue template 1`] = `
158158
text: \\"sm white\\",
159159
font: \\"mono light\\",
160160
p: \\"y-2 x-4\\",
161-
border: \\"2 rounded blue-200\\"
162-
}
161+
border: \\"2 rounded blue-200\\",
162+
},
163163
},
164164
[_vm._v(\\"\\\\n Button\\\\n \\")]
165-
)
165+
),
166166
])
167167
}
168168
var staticRenderFns = [
169-
function() {
169+
function () {
170170
var _vm = this
171171
var _h = _vm.$createElement
172172
var _c = _vm._self._c || _h
173173
return _c(\\"div\\", { staticClass: \\"less-global\\" }, [
174-
_c(\\"h2\\", [_vm._v(\\"Less global\\")])
174+
_c(\\"h2\\", [_vm._v(\\"Less global\\")]),
175175
])
176176
},
177-
function() {
177+
function () {
178178
var _vm = this
179179
var _h = _vm.$createElement
180180
var _c = _vm._self._c || _h
181181
return _c(\\"div\\", { staticClass: \\"scss-global\\" }, [
182-
_c(\\"h2\\", [_vm._v(\\"SCSS global\\")])
182+
_c(\\"h2\\", [_vm._v(\\"SCSS global\\")]),
183183
])
184184
},
185-
function() {
185+
function () {
186186
var _vm = this
187187
var _h = _vm.$createElement
188188
var _c = _vm._self._c || _h
189189
return _c(\\"div\\", { staticClass: \\"sass-global\\" }, [
190-
_c(\\"h2\\", [_vm._v(\\"SASS global\\")])
190+
_c(\\"h2\\", [_vm._v(\\"SASS global\\")]),
191191
])
192192
},
193-
function() {
193+
function () {
194194
var _vm = this
195195
var _h = _vm.$createElement
196196
var _c = _vm._self._c || _h
197197
return _c(\\"div\\", { staticClass: \\"css-global\\" }, [
198-
_c(\\"h2\\", [_vm._v(\\"CSS global\\")])
198+
_c(\\"h2\\", [_vm._v(\\"CSS global\\")]),
199199
])
200-
}
200+
},
201201
]
202202
render._withStripped = true
203203

0 commit comments

Comments
 (0)