@@ -10,7 +10,7 @@ const classify = require('../src/utility/string').classify;
1010const appName = 'my-app' ;
1111const sandboxPath = path . join ( process . cwd ( ) , './testing/sandbox/react' ) ;
1212const appPath = path . join ( sandboxPath , appName ) ;
13- const appLayoutPath = path . join ( sandboxPath , appName , 'src/Content.js ' ) ;
13+ const appLayoutPath = path . join ( sandboxPath , appName , 'src/Content.jsx ' ) ;
1414
1515exports . engine = 'react' ;
1616exports . appPath = appPath ;
@@ -24,7 +24,7 @@ exports.createApp = async(toolingVersion) => {
2424
2525 const additionalArguments = toolingVersion && [ `--${ toolingVersionOptionName } ${ toolingVersion } ` ] || [ ] ;
2626 await runCommand ( 'node' , [
27- path . join ( process . cwd ( ) , './index.js ' ) ,
27+ path . join ( process . cwd ( ) , './index.jsx ' ) ,
2828 'new' ,
2929 'react-app' ,
3030 '--layout=side-nav-outer-toolbar' ,
@@ -36,7 +36,7 @@ exports.createApp = async(toolingVersion) => {
3636 } ) ;
3737
3838 await runCommand ( 'node' , [
39- path . join ( process . cwd ( ) , './index.js ' ) ,
39+ path . join ( process . cwd ( ) , './index.jsx ' ) ,
4040 'add' ,
4141 'view' ,
4242 'new-page'
0 commit comments