Browse Source

chore: \s match all whitespaces (#5091)

dev
YOU 8 years ago
committed by kazuya kawaguchi
parent
commit
23a20ce09d
  1. 2
      test/unit/features/directives/once.spec.js

2
test/unit/features/directives/once.spec.js

@ -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…
Cancel
Save