Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: set AVA options#780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nfischer merged 1 commit intomasterfromava-options
Oct 13, 2017
Merged

chore: set AVA options#780

nfischer merged 1 commit intomasterfromava-options
Oct 13, 2017

Conversation

@nfischer
Copy link
Member

This sets 2 AVA options:

  • serial: same behavior as the CLI flag, which this replaces
  • powerAssert: if an assert fails, it will inspect all objects involved in
    the failed assert. This causes readability issues ift.falsy(shell.error())
    breaks, since it inspects all ofshell (which is way too large).

AVA options are a little easier to manage than CLI options (we only update one
place instead of 2 inpackage.json).

This sets 2 AVA options: * `serial`: same behavior as the CLI flag, which this replaces * `powerAssert`: if an assert fails, it will inspect all objects involved in   the failed assert. This causes readability issues if `t.falsy(shell.error())`   breaks, since it inspects all of `shell` (which is way too large).AVA options are a little easier to manage than CLI options (we only update oneplace instead of 2 in `package.json`).
@codecov-io
Copy link

codecov-io commentedOct 6, 2017
edited
Loading

Codecov Report

Merging#780 intomaster willnot change coverage.
The diff coverage isn/a.

Impacted file tree graph

@@           Coverage Diff           @@##           master     #780   +/-   ##=======================================  Coverage   95.39%   95.39%           =======================================  Files          33       33             Lines        1237     1237           =======================================  Hits         1180     1180             Misses         57       57

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updatec889075...9e8e878. Read thecomment docs.

Copy link
Contributor

@freitagbrfreitagbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM. I'd rather have verbose test output (withpowerAssert) than too little information to debug with.

@nfischer
Copy link
MemberAuthor

The output is still improved over previous AVA output (it's pretty good). It's just catastrophically verbose with thepowerAssert option set, just becauseshell is a massive object...

@nfischernfischer merged commitcd1aaba intomasterOct 13, 2017
@nfischernfischer deleted the ava-options branchOctober 13, 2017 06:23
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@freitagbrfreitagbrfreitagbr approved these changes

Assignees

@nfischernfischer

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@nfischer@codecov-io@freitagbr

[8]ページ先頭

©2009-2025 Movatter.jp