-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
No duplicated ast nodes #730
Conversation
7875276
to
4ea1682
Compare
@@ -25,38 +26,43 @@ jest.mock('fs') | |||
fs.existsSync.mockReturnValue(true) | |||
fs.statSync.mockReturnValue({ isFile: () => false }) | |||
|
|||
const createInlineTester = transform => opts => { | |||
const isBabel7 = babel => parseInt(babel.version.split('.')[0], 10) === 7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
babel@6 duplicates some nodes, so we just want to validate this when using babel@7 to avoid false positives caused by babel itself
e1576bd
to
d0d53aa
Compare
Codecov Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a test with the macro and the commonjs transform like #726?
d0d53aa
to
936155b
Compare
@mitchellhamilton done |
…ith registry.yarnpkg.com in yarn.lock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!
@mitchellhamilton as to the registry change - I couldn't install |
Checklist:
fixes #726