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

Fix tests #97

Merged
merged 2 commits into from
Jul 29, 2020
Merged

Fix tests #97

merged 2 commits into from
Jul 29, 2020

Conversation

taneliang
Copy link
Member

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 babel-jest does not transpile import/export in node_modules when Babel 7 is used jestjs/jest#6229 (comment)
  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 [Optimize flamechart][1/4] Add flamechart to ReactProfilerData #90.

Test Plan

  • CI (yarn lint, yarn test)
  • yarn flow: no change in errors

@taneliang taneliang requested a review from kartikcho July 29, 2020 03:26
@vercel
Copy link

vercel bot commented Jul 29, 2020

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

@taneliang taneliang merged commit d891dcc into master Jul 29, 2020
@taneliang taneliang deleted the eliang/fix-tests branch July 29, 2020 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants