mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 20:17:52 +08:00
chore: \s match all whitespaces (#5091)
This commit is contained in:
parent
62e4f2b3d1
commit
23a20ce09d
@ -338,5 +338,5 @@ describe('Directive v-once', () => {
|
||||
})
|
||||
|
||||
function expectTextContent (vm, text) {
|
||||
expect(vm.$el.textContent.replace(/\r?\n|\r|\s/g, '')).toBe(text)
|
||||
expect(vm.$el.textContent.replace(/\s+/g, '')).toBe(text)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user