File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,20 @@ const TEST_TEMPLATE_BRANCH = 'test-template';
2121
2222/**
2323 * Ensure we have a fiddle for the specified Electron branch.
24- * If we don't have it already, download it from electron-quick-start.
24+ * If we don't have it already, download it from the minimal-repro
25+ * repository.
2526 *
2627 * @param branch - Electron branchname, e.g. `12-x-y` or `main`
2728 * @returns Path to the folder where the fiddle is kept
2829 */
2930async function prepareTemplate ( branch : string ) : Promise < string > {
30- let folder = path . join ( TEMPLATES_DIR , `electron-quick-start -${ branch } ` ) ;
31+ let folder = path . join ( TEMPLATES_DIR , `minimal-repro -${ branch } ` ) ;
3132
3233 try {
3334 // if we don't have it, download it
3435 if ( ! fs . existsSync ( folder ) ) {
3536 console . log ( `Content: ${ branch } downloading template` ) ;
36- const url = `https://github.com/electron/electron-quick-start /archive/${ branch } .zip` ;
37+ const url = `https://github.com/electron/minimal-repro /archive/${ branch } .zip` ;
3738 const response = await fetch ( url ) ;
3839 if ( ! response . ok ) {
3940 throw new Error ( `${ url } ${ response . status } ${ response . statusText } ` ) ;
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ describe('content', () => {
9797 await getTestTemplate ( ) ;
9898 expect ( fetch ) . toHaveBeenCalledTimes ( 1 ) ;
9999 expect ( fetch ) . toHaveBeenLastCalledWith (
100- 'https://github.com/electron/electron-quick-start /archive/test-template.zip' ,
100+ 'https://github.com/electron/minimal-repro /archive/test-template.zip' ,
101101 ) ;
102102 } ) ;
103103 } ) ;
You can’t perform that action at this time.
0 commit comments