Skip to content

Commit

Permalink
fix: fix incorrect argument passing to process
Browse files Browse the repository at this point in the history
  • Loading branch information
robertkowalski committed Oct 1, 2021
1 parent 188fbd1 commit ea4cb8b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('create-hops-app', () => {

it('initializes a Hops app with yarn', async () => {
const name = 'my-app-yarn';
const args = [name, `--template ${template}@${version}`];
const args = [name, '--template', `${template}@${version}`];

const { all: output } = await execa(createHopsAppBin, args, {
all: true,
Expand All @@ -45,7 +45,7 @@ describe('create-hops-app', () => {

it('initializes a Hops app with npm', async () => {
const name = 'my-app-npm';
const args = [name, `--template ${template}@${version}`, `--npm`];
const args = [name, '--template', `${template}@${version}`, `--npm`];

const { all: output } = await execa(createHopsAppBin, args, { all: true });

Expand Down

0 comments on commit ea4cb8b

Please sign in to comment.