Skip to content

Commit

Permalink
[create-expo] Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvatne committed May 7, 2024
1 parent 1b95b40 commit ecb4452
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/create-expo/e2e/__tests__/index-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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');
Expand All @@ -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');
Expand Down Expand Up @@ -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');
Expand All @@ -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');
});
Expand All @@ -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');
});
Expand All @@ -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');
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit ecb4452

Please sign in to comment.