File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments