Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.0-rc.1 does not respect verbose=false #2895

Closed
anonrig opened this issue Nov 21, 2021 · 1 comment
Closed

4.0.0-rc.1 does not respect verbose=false #2895

anonrig opened this issue Nov 21, 2021 · 1 comment

Comments

@anonrig
Copy link

anonrig commented Nov 21, 2021

I run Ava using npm test which is just ava. Even though I add verbose=false, it still prints each task to the screen.

Here's an example:

  ✔ http › /health should return status up (542ms)
  ✔ events › github › delete › delete_tag should fail on not found repository (219ms)
  ✔ events › github › issue › opened should fail with not found repository (429ms)
  ✔ events › github › delete › delete_branch should fail on not found branch (457ms)
  ✔ events › github › create › repository_tag event should fail with not found repository (152ms)

Here's my ava config in my package.json.

{
  "ava": {
    "files": [
      "test/**/*.test.js"
    ],
    "cache": true,
    "failFast": true,
    "failWithoutAssertions": true,
    "environmentVariables": {
      "CI": "true"
    },
    "require": [
      "dotenv/config"
    ],
    "nodeArguments": [
      "--loader=quibble",
      "--no-warnings"
    ],
    "verbose": true,
    "workerThreads": true
  }
}
@novemberborn
Copy link
Member

The non-verbose reporter had bugs and was proving hard to maintain. It's been removed in AVA 4. There's still a lot of cruft in the current implementation, really we should rewrite it, see #2500.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants