Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

To write tests in ES6 with babel, please use babel-plugin-espower #1

Merged
merged 1 commit into from
Sep 11, 2015
Merged

To write tests in ES6 with babel, please use babel-plugin-espower #1

merged 1 commit into from
Sep 11, 2015

Conversation

twada
Copy link
Contributor

@twada twada commented Sep 11, 2015

To write tests in ES6 with babel, please use babel-plugin-espower or espower-babel (espower-babel uses babel-plugin-espower internally).

webpack-espower-loader (and the other instrumentors) transforms code after babel, which does not work since babel's output has changed.

babel-plugin-espower works as a babel plugin and runs before babel's transformation, so it works as expected.

@kazupon
Copy link
Owner

kazupon commented Sep 11, 2015

I confirmed that it works.
Thnaks !! 💯

kazupon added a commit that referenced this pull request Sep 11, 2015
To write tests in ES6 with babel, please use babel-plugin-espower
@kazupon kazupon merged commit af3eeec into kazupon:master Sep 11, 2015
@twada
Copy link
Contributor Author

twada commented Sep 11, 2015

Thank you for reporting! 👍

@twada twada deleted the babel-plugin-espower branch September 11, 2015 17:54
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants