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

Use "react-dom" instead of "../../node_modules/react-dom/dist/react-dom"#3102

Merged
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
codehag:impromptu-refactor/use-react-dom
Jun 6, 2017
Merged

Use "react-dom" instead of "../../node_modules/react-dom/dist/react-dom"#3102
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
codehag:impromptu-refactor/use-react-dom

Conversation

@codehag

@codehag codehag commented Jun 6, 2017

Copy link
Copy Markdown
Contributor

Looks like we had a misconfiguration in the .babelrc

I did this because the weird path with ../node_modules/react-dom/dist/react-dom was doing weird things to editor component tests. I swapped it out. things seem to be working as expected.

Summary of Changes

  • remove line which was causing a recursive react-dom/dist/react-dom/dist address from babel-rc
  • rename all instances of ../../../[etc]/node_modules/react-dom/dist/react-dom to react-dom

Test Plan

  • All Unit tests are passing. Need to double check if the build still works

Looks like we had a misconfiguration in the .babelrc
@codehag

codehag commented Jun 6, 2017

Copy link
Copy Markdown
Contributor Author

Also, just noticed something funny is up with our integration tests. Breakpoints tests and other tests now fail. Also on master. verrry weird

@codecov

codecov Bot commented Jun 6, 2017

Copy link
Copy Markdown

Codecov Report

Merging #3102 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3102   +/-   ##
=======================================
  Coverage   66.88%   66.88%           
=======================================
  Files          76       76           
  Lines        2697     2697           
  Branches      544      544           
=======================================
  Hits         1804     1804           
  Misses        893      893

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4377087...5f4afd3. Read the comment docs.

@jasonLaster jasonLaster left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 amazing. so glad this works

@jasonLaster jasonLaster merged commit ae4506b into firefox-devtools:master Jun 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants