diff --git a/packages/create-expo/e2e/__tests__/index-test.ts b/packages/create-expo/e2e/__tests__/index-test.ts index ee1b6b9d8efd1..b89c5e277eede 100644 --- a/packages/create-expo/e2e/__tests__/index-test.ts +++ b/packages/create-expo/e2e/__tests__/index-test.ts @@ -39,7 +39,7 @@ it('creates a full basic project by default', async () => { await executePassing([projectName]); expectFileExists(projectName, 'package.json'); - expectFileExists(projectName, 'App.js'); + expectFileExists(projectName, 'app/_layout.tsx'); expectFileExists(projectName, '.gitignore'); expectFileExists(projectName, 'app.json'); // expect(fileExists(projectName, 'node_modules')).toBeTruthy(); @@ -70,7 +70,7 @@ it('uses pnpm', async () => { expect(results.stdout).toMatch(/pnpm install/); expectFileExists(projectName, 'package.json'); - expectFileExists(projectName, 'App.js'); + expectFileExists(projectName, 'app/_layout.tsx'); expectFileExists(projectName, '.gitignore'); // Check if it skipped install expectFileNotExists(projectName, 'node_modules'); @@ -95,7 +95,7 @@ it('uses Bun', async () => { expect(results.stdout).toMatch(/bun install/); expectFileExists(projectName, 'package.json'); - expectFileExists(projectName, 'App.js'); + expectFileExists(projectName, 'app/_layout.tsx'); expectFileExists(projectName, '.gitignore'); // Check if it skipped install expectFileNotExists(projectName, 'node_modules'); @@ -131,7 +131,7 @@ it('uses yarn', async () => { expect(results.stdout).toMatch(/yarn install/); expectFileExists(projectName, 'package.json'); - expectFileExists(projectName, 'App.js'); + expectFileExists(projectName, 'app/_layout.tsx'); expectFileExists(projectName, '.gitignore'); // Check if it skipped install expectFileNotExists(projectName, 'node_modules'); @@ -144,7 +144,7 @@ describe('yes', () => { await executePassing([projectName, '--no-install', '--yes']); expectFileExists(projectName, 'package.json'); - expectFileExists(projectName, 'App.js'); + expectFileExists(projectName, 'app/_layout.tsx'); expectFileExists(projectName, '.gitignore'); expectFileNotExists(projectName, 'node_modules'); }); @@ -155,7 +155,7 @@ describe('yes', () => { await executePassing([projectName, '--no-install', '-y']); expectFileExists(projectName, 'package.json'); - expectFileExists(projectName, 'App.js'); + expectFileExists(projectName, 'app/_layout.tsx'); expectFileExists(projectName, '.gitignore'); expectFileNotExists(projectName, 'node_modules'); }); @@ -166,7 +166,7 @@ describe('yes', () => { await executePassing([projectName, '--no-install', '--yes', '--template', 'blank']); expectFileExists(projectName, 'package.json'); - expectFileExists(projectName, 'App.js'); + expectFileExists(projectName, 'app/_layout.tsx'); expectFileExists(projectName, '.gitignore'); // Check if it skipped install expectFileNotExists(projectName, 'node_modules'); @@ -274,7 +274,7 @@ xdescribe('templates', () => { } expectFileExists(projectName, 'package.json'); - expectFileExists(projectName, 'App.js'); + expectFileExists(projectName, 'app/_layout.tsx'); expectFileExists(projectName, '.gitignore'); // Check if it skipped install expectFileNotExists(projectName, 'node_modules');