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 authored and hops-release-bot[bot] committed Oct 27, 2021
1 parent 0b83fca commit 5508d3d
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 5508d3d

Please sign in to comment.