Skip to content

Commit 5223738

Browse files
committed
fix transitionOnLoad tests
1 parent e3271b8 commit 5223738

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rules/vue-router/transition-on-load.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ describe('Rule: transition-on-load', () => {
2121
it('matches "transitionOnLoad"', () => {
2222
const warning = check('transitionOnLoad')
2323
expect(warning).toBeTruthy()
24-
expect(warning.fix).toBe('arst')
24+
expect(warning.fix).toBe('Remove the transitionOnLoad option')
2525
})
2626

2727
it('matches "transitionOnLoad:"', () => {
2828
const warning = check(`
2929
transitionOnLoad:
3030
`)
3131
expect(warning).toBeTruthy()
32-
expect(warning.fix).toBe('arst')
32+
expect(warning.fix).toBe('Remove the transitionOnLoad option')
3333
})
3434

3535
it('matches "transitionOnLoad :"', () => {
3636
const warning = check(`
3737
transitionOnLoad :
3838
`)
3939
expect(warning).toBeTruthy()
40-
expect(warning.fix).toBe('arst')
40+
expect(warning.fix).toBe('Remove the transitionOnLoad option')
4141
})
4242
})

0 commit comments

Comments
 (0)