mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-27 23:52:41 +01:00
#N/A: Add npm_missing_script
rule
This commit is contained in:
@@ -49,7 +49,7 @@ available via `npm run-script`:
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def run_script(mocker):
|
||||
patch = mocker.patch('thefuck.rules.npm_run_script.Popen')
|
||||
patch = mocker.patch('thefuck.specific.npm.Popen')
|
||||
patch.return_value.stdout = BytesIO(run_script_stdout)
|
||||
return patch.return_value
|
||||
|
||||
|
Reference in New Issue
Block a user