• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vuepress / vuepress-next / 3860787019

pending completion
3860787019

Pull #1230

github

GitHub
Merge a55297b33 into b4e313bb7
Pull Request #1230: feat: add helper package

325 of 478 branches covered (67.99%)

Branch coverage included in aggregate %.

8 of 8 new or added lines in 2 files covered. (100.0%)

685 of 1011 relevant lines covered (67.75%)

42.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/packages/shared/src/utils/isLinkPathname.ts
1
// eslint-disable-next-line vue/prefer-import-from-vue
2
import { isString } from '@vue/shared'
3

4
/**
5
 * Whether a link is a valid pathname
6
 */
7
export const isLinkPathname = (test: unknown): boolean =>
51✔
8
  isString(test) && test.startsWith('/')
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc