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

Babel 7 update #518

Merged
merged 1 commit into from
Nov 3, 2018
Merged

Babel 7 update #518

merged 1 commit into from
Nov 3, 2018

Conversation

stefanbuck
Copy link
Member

I used npx babel-upgrade --write --install for the basic changes, but one additional change was needed to make it working see comment below

@@ -0,0 +1,11 @@
module.exports = {
Copy link
Member Author

Choose a reason for hiding this comment

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

I had to rename the file to bypass a breaking change in babel 7 jestjs/jest#6053 (comment)

@stefanbuck
Copy link
Member Author

Mhhh locally it works, but on travis it doesn't work. Looks like babel is not running over _jestsetup.js 😕

 /home/travis/build/OctoLinker/OctoLinker/_jestsetup.js:184
    import fs from 'fs';
           ^^
    SyntaxError: Unexpected identifier

@stefanbuck stefanbuck force-pushed the babel-7 branch 2 times, most recently from 246a5f6 to 3eb00cb Compare November 2, 2018 23:55
@stefanbuck stefanbuck merged commit d559318 into OctoLinker:master Nov 3, 2018
@stefanbuck stefanbuck mentioned this pull request Dec 1, 2018
@stefanbuck stefanbuck deleted the babel-7 branch April 7, 2020 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant