MLH-Fellowship / scheduling-profiler-prototype

Custom profiler prototype for React's concurrent mode
https://react-scheduling-profiler.vercel.app/
6 stars 0 forks source link

Fix tests #97

Closed taneliang closed 4 years ago

taneliang commented 4 years ago

Summary

90 broke tests on master. Problems:

  1. Jest could not deal with export in code imported from node_modules/@elg/speedscope. Changed our Babel and Jest configs to fix this following https://github.com/facebook/jest/issues/6229#issuecomment-403539460
  2. preprocessData tests were not updated. This PR updates them, with some TODOs to be done in the remaining PRs in the stack based on #90.

Test Plan

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mlh-fellowship/scheduling-profiler-prototype/2zfzcn5kp ✅ Preview: https://scheduling-profiler-prototype-git-eliang-fix-tests.mlh-fellowship.vercel.app