Skip to content

Commit

Permalink
use blank template for tests (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBacon authored Sep 22, 2020
1 parent 60b847b commit 5e88aee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions __tests__/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ describe('templates', () => {
await executePassingAsync(
projectName,
'--template',
'https://github.com/expo/examples/tree/master/with-animated-splash-screen',
'https://github.com/expo/examples/tree/master/blank',
'--no-install'
);
expect(fileExists(projectName, 'package.json')).toBeTruthy();
Expand All @@ -182,7 +182,7 @@ describe('templates', () => {

it('downloads a valid template', async () => {
const projectName = 'valid-template-name';
await executePassingAsync(projectName, '--template', 'with-animated-splash-screen');
await executePassingAsync(projectName, '--template', 'blank');

expect(fileExists(projectName, 'package.json')).toBeTruthy();
expect(fileExists(projectName, 'App.js')).toBeTruthy();
Expand Down Expand Up @@ -231,7 +231,7 @@ describe('templates', () => {
const results = await executePassingAsync(
projectName,
'--template',
'https://github.com/expo/examples/tree/master/with-animated-splash-screen',
'https://github.com/expo/examples/tree/master/blank',
'--no-install'
);

Expand All @@ -253,7 +253,7 @@ describe('templates', () => {
'--template',
'https://github.com/expo/examples/tree/master',
'--template-path',
'with-animated-splash-screen',
'blank',
'--no-install'
);

Expand Down

0 comments on commit 5e88aee

Please sign in to comment.