blackjackkent / RPThreadTrackerV3.FrontEnd

GNU General Public License v3.0
4 stars 5 forks source link

Clean up proptype warnings in unit tests #148

Closed blackjackkent closed 3 years ago

blackjackkent commented 3 years ago

Expected Behavior

CI unit tests should run cleanly without logged warnings.

Current Behavior

Currently when running npm run test:ci, there are a number of console warnings related to proptypes.

image

Possible Solution

I think this is because certain mocked values are being mocked with an incorrect type. Fixing the mocks in the affected tests should clean it up.

Steps to Reproduce (for bugs)

  1. Check out the repo and run npm install
  2. Run npm run test:ci