🌐 AI搜索 & 代理 主页
Skip to content

Commit 9f7ec7c

Browse files
committed
Update router.spec.js
1 parent fad5a8b commit 9f7ec7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/router.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ describe('utils/router', () => {
203203
// isRouterLink() utility method
204204
describe('isRouterLink()', () => {
205205
it('works', async () => {
206+
expect(isRouterLink('a')).toBe(false)
206207
expect(isRouterLink('router-link')).toBe(true)
207208
expect(isRouterLink('nuxt-link')).toBe(true)
208209
expect(isRouterLink()).toBe(false)

0 commit comments

Comments
 (0)