Skip to content

Commit

Permalink
fixed grep weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
timbrinded committed Jun 9, 2023
1 parent fd1d9da commit c7f0b52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/kind-crabs-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@moonwall/cli": patch
---

Fix GrepTest for Running networks
- [#144](https://github.com/Moonsong-Labs/moonwall/issues/144)
4 changes: 3 additions & 1 deletion packages/cli/src/cmds/runNetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ export async function runNetwork(args) {

case 5:
await resolveGrepChoice(env);

break;

case 6:
const quit = await inquirer.prompt(questions.find(({ name }) => name == "Quit"));
if (quit.Quit === true) {
Expand Down Expand Up @@ -313,6 +314,7 @@ const resolveGrepChoice = async (env: Environment) => {
message: `What pattern would you like to filter for (ID/Title): `,
default: "D01T01",
});
process.env.MOON_RECYCLE = "true";
return await executeTests(env, { testNamePattern: choice.grep });
};

Expand Down

0 comments on commit c7f0b52

Please sign in to comment.