Skip to content

Commit 61930e0

Browse files
S-YOUposva
authored andcommitted
chore(test): fix some typos (vuejs#5101)
1 parent 2dc177f commit 61930e0

File tree

17 files changed

+27
-27
lines changed

17 files changed

+27
-27
lines changed

test/e2e/specs/todomvc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module.exports = {
8585
createNewItem('test')
8686
.assert.count('.todo', 2)
8787

88-
// complted filter
88+
// completed filter
8989
browser.click('.filters li:nth-child(3) a')
9090
.assert.count('.todo', 2)
9191
.assert.count('.todo.completed', 2)

test/ssr/ssr-string.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('SSR: renderToString', () => {
5858
})
5959
})
6060

61-
it('custome component class', done => {
61+
it('custom component class', done => {
6262
renderVmWithOptions({
6363
template: '<div><cmp class="cmp"></cmp></div>',
6464
components: {
@@ -512,7 +512,7 @@ describe('SSR: renderToString', () => {
512512
})
513513
})
514514

515-
it('enumrated attr', done => {
515+
it('enumerated attr', done => {
516516
renderVmWithOptions({
517517
template: `
518518
<div>

test/unit/features/component/component-keep-alive.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ describe('Component keep-alive', () => {
380380
})
381381

382382
// #4237
383-
it('should update latest props/listners for a re-activated component', done => {
383+
it('should update latest props/listeners for a re-activated component', done => {
384384
const one = {
385385
props: ['prop'],
386386
template: `<div>one {{ prop }}</div>`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('Component slot', () => {
8080
expect(child.$el.children[1].textContent).toBe('slot b')
8181
})
8282

83-
it('fallback content with mixed named/unamed slots', () => {
83+
it('fallback content with mixed named/unnamed slots', () => {
8484
mount({
8585
childTemplate: `
8686
<div>

test/unit/features/directives/bind.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe('Directive v-bind', () => {
6767
}).then(done)
6868
})
6969

70-
it('enumrated attr', done => {
70+
it('enumerated attr', done => {
7171
const vm = new Vue({
7272
template: '<div><span :draggable="foo">hello</span></div>',
7373
data: { foo: true }

test/unit/features/global-api/extend.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe('Global API: extend', () => {
124124
})
125125

126126
// #4767
127-
it('extended options should use different identitfy from parent', () => {
127+
it('extended options should use different identify from parent', () => {
128128
const A = Vue.extend({ computed: {}})
129129
const B = A.extend()
130130
B.options.computed.b = () => 'foo'

test/unit/features/options/el.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe('Options el', () => {
1212
expect(vm.$el.textContent).toBe(vm.message)
1313
})
1414

15-
it('should be replaced when use togther with `template` option', () => {
15+
it('should be replaced when use together with `template` option', () => {
1616
const el = document.createElement('div')
1717
el.innerHTML = '<span>{{message}}</span>'
1818
const vm = new Vue({
@@ -24,7 +24,7 @@ describe('Options el', () => {
2424
expect(vm.$el.textContent).toBe(vm.message)
2525
})
2626

27-
it('should be replaced when use togther with `render` option', () => {
27+
it('should be replaced when use together with `render` option', () => {
2828
const el = document.createElement('div')
2929
el.innerHTML = '<span>{{message}}</span>'
3030
const vm = new Vue({

test/unit/features/options/lifecycle.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Vue from 'vue'
22

3-
describe('Options lifecyce hooks', () => {
3+
describe('Options lifecycle hooks', () => {
44
let spy
55
beforeEach(() => {
66
spy = jasmine.createSpy('hook')

test/unit/features/options/props.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ describe('Options props', () => {
438438
})
439439

440440
// #4090
441-
it('should not trigger wathcer on default value', done => {
441+
it('should not trigger watcher on default value', done => {
442442
const spy = jasmine.createSpy()
443443
const vm = new Vue({
444444
template: `<test :value="a" :test="b"></test>`,

test/unit/features/transition/transition-mode.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ if (!isIE9) {
378378
}).then(done)
379379
})
380380

381-
it('warn invaid mode', () => {
381+
it('warn invalid mode', () => {
382382
new Vue({
383383
template: '<transition mode="foo"><div>123</div></transition>'
384384
}).$mount()

0 commit comments

Comments
 (0)