Skip to content

Commit 40bc592

Browse files
S-YOUyyx990803
authored andcommitted
chore: preserveWhitespace is true by default (#5082)
1 parent 13a14d5 commit 40bc592

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/unit/features/component/component-slot.spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ describe('Component slot', () => {
266266
})
267267

268268
it('default slot should use fallback content if has only whitespace', () => {
269-
Vue.config.preserveWhitespace = true
270269
mount({
271270
childTemplate: `
272271
<div>
@@ -280,7 +279,6 @@ describe('Component slot', () => {
280279
expect(child.$el.innerHTML).toBe(
281280
'<div>1</div> <p>this is the default slot</p> <div>2</div>'
282281
)
283-
Vue.config.preserveWhitespace = false
284282
})
285283

286284
it('programmatic access to $slots', () => {

0 commit comments

Comments
 (0)