Skip to content

Commit

Permalink
fix: escape test runner path (#544)
Browse files Browse the repository at this point in the history
* fix: escape test runner path

* chore: add changeset
  • Loading branch information
mdjastrzebski authored Nov 27, 2024
1 parent 6b867a2 commit aa608ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wicked-pumpkins-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@callstack/reassure-cli': patch
---

fix: support test runner paths with spaces
2 changes: 1 addition & 1 deletion packages/cli/src/commands/measure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function run(options: MeasureOptions) {

const nodeArgs = [
...getNodeFlags(nodeMajorVersion),
testRunnerPath,
`"${testRunnerPath}"`,
...baseTestRunnerArgs,
...passthroughTestRunnerArgs,
];
Expand Down

0 comments on commit aa608ae

Please sign in to comment.