Browse Source

fix: lint update (#29336)

pull/29383/head
二货机器人 4 years ago
committed by GitHub
parent
commit
75cd2a9649
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/shared/demoTest.ts

2
tests/shared/demoTest.ts

@ -20,7 +20,7 @@ function ariaConvert(wrapper: CheerIO) {
const matches = new Map(); const matches = new Map();
function process(entry: CheerIOElement) { function process(entry: CheerIOElement) {
if (entry.type === 'text') { if (entry.type === 'text' || entry.type === 'comment') {
return; return;
} }
const { attribs, children } = entry; const { attribs, children } = entry;

Loading…
Cancel
Save