astro/test/test-utils.js
duncanhealy 687ff5bacd
chore fix lint reduce errors generated (#83)
* add dep domhandler imported in in src/build/static

* lint and jsDoc error

* move domhandler to devDep

* chore: add package lock

* escape string jsDoc

* chore: add astro dep in until prism import is refactored

* chore: add snowpack example package lock
2021-04-12 16:20:58 +01:00

5 lines
107 B
JavaScript

import cheerio from 'cheerio';
/** load html */
export function doc(html) {
return cheerio.load(html);
}