Skip to content

Commit d401af0

Browse files
committed
test: Correct shadow DOM link test
1 parent 4a823d7 commit d401af0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/router.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,6 @@ describe('Router', () => {
978978
const shadowlink = document.createElement('a');
979979
shadowlink.href = '/shadow';
980980
shadowlink.textContent = 'Shadow Link';
981-
shadowlink.addEventListener('click', e => e.preventDefault());
982981

983982
const attachShadow = (el) => {
984983
if (!el || el.shadowRoot) return;

0 commit comments

Comments
 (0)