File tree 1 file changed +6
-6
lines changed
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(
22
22
const html = await res . text ( ) ;
23
23
if ( ! canGenerateTestFixture ) {
24
24
// 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
+ // );
31
31
}
32
32
33
33
const parsed = parseHTML ( html ) ;
You can’t perform that action at this time.
0 commit comments