Skip to content

Commit d8fd3fc

Browse files
committed
remove coverage ignore comments since we are not using coverage anyway
1 parent 48ce084 commit d8fd3fc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/link.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,12 @@ export default {
8484

8585
function guardEvent (e) {
8686
// don't redirect with control keys
87-
/* istanbul ignore if */
8887
if (e.metaKey || e.ctrlKey || e.shiftKey) return
8988
// don't redirect when preventDefault called
90-
/* istanbul ignore if */
9189
if (e.defaultPrevented) return
9290
// don't redirect on right click
93-
/* istanbul ignore if */
9491
if (e.button !== undefined && e.button !== 0) return
9592
// don't redirect if `target="_blank"`
96-
/* istanbul ignore if */
9793
if (e.target && e.target.getAttribute) {
9894
const target = e.target.getAttribute('target')
9995
if (/\b_blank\b/i.test(target)) return

0 commit comments

Comments
 (0)