Skip to content

Commit c9a4148

Browse files
committed
Remove semis
1 parent 8b3cd3d commit c9a4148

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/unit/specs/create-matcher.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import { createMatcher } from '../../../src/create-matcher'
33

44
const routes = [
5-
{ path: '/', name: 'home', component: { name: 'home' } },
6-
{ path: '/foo', name: 'foo', component: { name: 'foo' } },
5+
{ path: '/', name: 'home', component: { name: 'home' }},
6+
{ path: '/foo', name: 'foo', component: { name: 'foo' }},
77
]
88

99
describe('Creating Matcher', function () {
@@ -25,11 +25,11 @@ describe('Creating Matcher', function () {
2525
expect(matched.length).toBe(0)
2626
expect(name).toBe('bar')
2727
expect(console.warn).toHaveBeenCalled()
28-
expect(console.warn.calls.argsFor(0)[0]).toMatch('Route with name \'bar\' does not exist');
28+
expect(console.warn.calls.argsFor(0)[0]).toMatch('Route with name \'bar\' does not exist')
2929
})
3030

3131
it('in production, it has not logged this warning', function () {
32-
match({ name: 'foo' }, routes[0]);
32+
match({ name: 'foo' }, routes[0])
3333
expect(console.warn).not.toHaveBeenCalled()
3434
})
3535
})

0 commit comments

Comments
 (0)