Skip to content

Commit

Permalink
Fixup windows npm execution
Browse files Browse the repository at this point in the history
  • Loading branch information
elchupanebrej committed Oct 29, 2024
1 parent 1087109 commit 46b0759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def run_pytest(testdir: "Testdir", step):
@given("Install npm packages")
def _(testdir: "Testdir", step):
options_dict = data_table_to_dicts(step.data_table)
yield testdir.run("npm", "install", "--silent", *options_dict.get("packages", []))
yield testdir.run(shutil.which("npm"), "install", "--silent", *options_dict.get("packages", []))


@step("pytest outcome must contain tests with statuses:")
Expand Down

0 comments on commit 46b0759

Please sign in to comment.