Skip to content

Commit

Permalink
chore: remove unused util
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed May 30, 2023
1 parent 027e787 commit 2cbb321
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/integrations/markdoc/test/propagated-assets.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,3 @@ describe('Markdoc - propagated assets', () => {
});
}
});

/**
* @param {string} filePath
* @param {'dev' | 'prod'} mode
* @returns {Document} */
async function parseDocument(filePath, mode) {
if (mode === 'prod') {
const html = await fixture.readFile(filePath + 'index.html');
document = parseHTML(html).document;
} else if (mode === 'dev') {
const res = await fixture.fetch('/styles');
const html = await res.text();
document = parseHTML(html).document;
}
}

0 comments on commit 2cbb321

Please sign in to comment.