Skip to content

Commit 0f126f2

Browse files
skirtles-codeposva
andauthored
Reword test descriptions
Co-authored-by: Eduardo San Martin Morote <[email protected]>
1 parent 0b483f9 commit 0f126f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/router/__tests__/router.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -330,15 +330,15 @@ describe('Router', () => {
330330
expect(route1.params).toEqual({ p: 'a' })
331331
})
332332

333-
it('handles an undefined location', async () => {
333+
it('warns on undefined location during dev', async () => {
334334
const { router } = await newRouter()
335335

336336
const route1 = router.resolve(undefined as any)
337337
expect('router.resolve() was passed an invalid location').toHaveBeenWarned()
338338
expect(route1.path).toBe('/')
339339
})
340340

341-
it('handles a null location', async () => {
341+
it('warns on null location during dev', async () => {
342342
const { router } = await newRouter()
343343

344344
const route1 = router.resolve(null as any)

0 commit comments

Comments
 (0)