Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Remove console.log from tests output #2286

Closed
matteovivona opened this issue Aug 12, 2020 · 2 comments · Fixed by #2303
Closed

Remove console.log from tests output #2286

matteovivona opened this issue Aug 12, 2020 · 2 comments · Fixed by #2303
Assignees
Labels
🐛bug issue/pull request that documents/fixes a bug good first issue indicates an issue is good for a first time contributor LOE - small indicates that the level of effort to complete issue is small (i.e changing the color of a button)
Milestone

Comments

@matteovivona
Copy link
Contributor

matteovivona commented Aug 12, 2020

🐛 Bug Report

Remove console logs that appear in the output of npm run test command

Some example:

  ● Console

    console.error node_modules/react-query/dist/react-query.development.js:1837
      {
        name: 'incident error',
        message: 'something went wrong',
        date: 'some date error',
        department: 'some department error',
        category: 'some category error',
        categoryItem: 'some category item error',
        description: 'some description error'
      }

https://github.com/HospitalRun/hospitalrun-frontend/runs/974788560?check_suite_focus=true#step:8:23

@matteovivona matteovivona added 🐛bug issue/pull request that documents/fixes a bug help wanted indicates that an issue is open for contributions good first issue indicates an issue is good for a first time contributor labels Aug 12, 2020
@matteovivona matteovivona added this to the v2.0 milestone Aug 12, 2020
@matteovivona matteovivona added the LOE - small indicates that the level of effort to complete issue is small (i.e changing the color of a button) label Aug 12, 2020
@janmarkusmilan
Copy link
Contributor

Hi, I was wondering if I could attempt this one?

@matteovivona
Copy link
Contributor Author

matteovivona commented Aug 12, 2020

ok @janmarkusmilan!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛bug issue/pull request that documents/fixes a bug good first issue indicates an issue is good for a first time contributor LOE - small indicates that the level of effort to complete issue is small (i.e changing the color of a button)
Projects
None yet
2 participants