-
Notifications
You must be signed in to change notification settings - Fork 6
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
issue with setup babel6 + webpack + karma #14
Comments
Originally, I was using like
when I changed to
output message is
|
@bsr203 Thank you for using power-assert. |
hi @twada thanks for the response. Please see the repo here https://github.com/bsr203/react-boilerplate you can see the test, along with the tests from karma conf here https://github.com/bsr203/react-boilerplate/blob/master/internals/testing/karma.conf.js babel config for test is if you use builtin assert instead of
please let me know from anything. |
@bsr203 Thanks. I'm going to clone and investigate your repo now. |
thanks.. :-) |
This is not a critical problem, since power-assert formatter uses dynamic require to load renderers. It's just a warning. |
ok but there is no pretty diff in the assert message right |
@bsr203 I've created a pull-req to enable power-assert. Please take a look. |
thanks, it was silly as I thought it will read the config from the .babelrc. one minor issue with the warning. I typically use the watch mode with the warning, it always shows the long webpack build output, and only shows the test results otherwise. so, if there is no warning (means if I switch from thanks again for this wonderful package and your help. |
@bsr203 Just made one more pull-req to suppress warnings |
everything works flawlessly. can't thank you enough. Cheers. bsr |
@bsr203 Grad to hear that ;) |
Memo for power-assert FAQ.
|
To anyone who also came here from the FAQ: module.exports = {
...
module: {
exprContextCritical: false,
loaders: ...
... |
@chibicode Thank you for clarifying!! |
Hi,
can you please let me know whether I am using this plugin wrongly. I have a babel6 + webpack + karma setup. this is my .babelrc
I see a warning
but I don't see power assert output on assertion failure.
versions
Full stack,
The text was updated successfully, but these errors were encountered: