A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/2ec2e75ee81361a850bca643341d240441870334 below:

disable progress on shellout exit tests · npm/cli@2ec2e75 · GitHub

Skip to content Navigation Menu Search code, repositories, users, issues, pull requests...

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

Commit 2ec2e75

chore: disable progress on shellout exit tests

These tests assert what happens if a shellout command like exec throws unexpected errors by checking what is written to stderr. Progress also gets written to stderr but is not always deterministic due to the nature of calling it via setInterval. So this disables progress for these tests so the stderr assertions can be relied on to be the same.
1 parent e9fdc9a commit 2ec2e75

Copy full SHA for 2ec2e75

File tree Expand file treeCollapse file tree 1 file changed

+1

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-0

lines changed +1Lines changed: 1 addition & 0 deletions Original file line number Diff line number Diff line change

@@ -652,6 +652,7 @@ t.test('do no fancy handling for shellouts', async t => {

652 652

argv: ['-c', 'exit'],

653 653

config: {

654 654

timing: false,

655 +

progress: false,

655 656

...opts.config,

656 657

},

657 658

...opts,

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4