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

simplify register test #6391

Merged
merged 3 commits into from
Oct 16, 2017
Merged

simplify register test #6391

merged 3 commits into from
Oct 16, 2017

Conversation

hzoo
Copy link
Member

@hzoo hzoo commented Oct 5, 2017

TEST_ONLY=babel-register make test-only was failing with

  1. babel-register registers correctly:
    Error: [BABEL] /Users/hzhu/dev/babel-7.0/packages/babel-preset-es2015/lib/index.js: Reentrant preset detected trying to load "/Users/hzhu/dev/babel-7.0/packages/babel-preset-es2015/lib/index.js". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.
    at requireModule (node_modules/babel-core/lib/config/loading/files/plugins.js:191:11)
    at loadPreset (node_modules/babel-core/lib/config/loading/files/plugins.js:64:15)
    at normalizePair (node_modules/babel-core/lib/config/option-manager.js:427:21)
    at node_modules/babel-core/lib/config/option-manager.js:212:27
    at Array.map (native)
    at loadConfig (node_modules/babel-core/lib/config/option-manager.js:211:48)
    at OptionManager.mergeOptions (node_modules/babel-core/lib/config/option-manager.js:71:18)

Can just do this instead

@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/5216/

@hzoo hzoo requested a review from loganfsmyth October 7, 2017 12:19
@hzoo hzoo added area: tests PR: Internal 🏠 A type of pull request used for our changelog categories labels Oct 16, 2017
@hzoo hzoo merged commit 58da50a into master Oct 16, 2017
@hzoo hzoo deleted the register-test branch October 16, 2017 20:55
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: tests outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Internal 🏠 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants