Skip to content

Commit

Permalink
feat: add tests for createScraper using Zod validation to ensure data…
Browse files Browse the repository at this point in the history
… extraction from HTML works correctly with various scenarios
  • Loading branch information
johnie committed Oct 26, 2024
1 parent 6d176d5 commit 4221273
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const htmlWithNested = `
</html>
`;

describe('xscrape', () => {
describe('xscrape with Zod', () => {
test('extracts data from HTML', () => {
const validator = new ZodValidator(schema);
const scraper = createScraper({
Expand Down

0 comments on commit 4221273

Please sign in to comment.