Skip to content

Commit

Permalink
test(directives/class.spec.js): Added whitespace to test
Browse files Browse the repository at this point in the history
  • Loading branch information
royeden committed Aug 24, 2021
1 parent 07916ab commit 50461b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/features/directives/class.spec.js
Expand Up @@ -166,15 +166,15 @@ describe('Directive v-bind:class', () => {
it('corrects whitespace in staticClass merge in a component', done => {
const vm = new Vue({
template: `
<component1 class="staticClass" :class="componentClass1">
<component1 class="\n\t staticClass \t\n" :class="componentClass1">
</component1>
`,
data: {
componentClass1: 'componentClass1',
},
components: {
component1: {
template: '<div class="test"></div>'
template: '<div class="\n\t test \t\n"></div>'
},
}
}).$mount()
Expand Down

0 comments on commit 50461b2

Please sign in to comment.