We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e4f2b commit 23a20ceCopy full SHA for 23a20ce
test/unit/features/directives/once.spec.js
@@ -338,5 +338,5 @@ describe('Directive v-once', () => {
338
})
339
340
function expectTextContent (vm, text) {
341
- expect(vm.$el.textContent.replace(/\r?\n|\r|\s/g, '')).toBe(text)
+ expect(vm.$el.textContent.replace(/\s+/g, '')).toBe(text)
342
}
0 commit comments