Skip to content

Commit 2c53851

Browse files
committed
chore: Comment out debugging file write
1 parent 1167f3b commit 2c53851

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/crawlers/chrome-crawler.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export async function crawlExtension(
2222
const html = await res.text();
2323
if (!canGenerateTestFixture) {
2424
// Uncomment to debug HTML or generate new test fixture
25-
const date = new Date();
26-
const dateString = `${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, "0")}-${date.getDate().toString().padStart(2, "0")}`;
27-
Bun.write(
28-
`src/crawlers/__tests__/fixtures/chrome-web-store/.new/${dateString}-${id}.html`,
29-
html,
30-
);
25+
// const date = new Date();
26+
// const dateString = `${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, "0")}-${date.getDate().toString().padStart(2, "0")}`;
27+
// Bun.write(
28+
// `src/crawlers/__tests__/fixtures/chrome-web-store/.new/${dateString}-${id}.html`,
29+
// html,
30+
// );
3131
}
3232

3333
const parsed = parseHTML(html);

0 commit comments

Comments
 (0)