-
Notifications
You must be signed in to change notification settings - Fork 145
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
Problem running test: Cannot read property 'afterCompile' #83
Comments
What is the name of your spec file? If it doesn't end in Hope that helps. |
Thanks for the answer! The name of the file is |
@PavloWasTaken : did you find answer for this ? , getting same error. if I remove then no errors. |
Hi, @NagarajRaju I have not found a way to make it work so, finally, I have used another project as a guide for unit test. |
For me it helped to change to lower ts-loader version 3.5, which works actually with my webpack version. rails/webpacker#1307 |
I am affected also with this. I can confirm that the error is caused by a difference in webpack version used. Still in my case after fixing the
I feel like I am entering now in a dependencies hell if I start testing which combination of packages works fine.
Any idea on how to proceed? UPDATE: |
Hi,
I'm a newbie working with unit test on Ionic and I'm having a rough time with this issue. I'm able to run the test without problem if I'm not using any spec files (I used #79 to get there), but I get the next error trying to test a page.
webpack.test.js
karma.conf.js
karma-test-shim.js
spec file
package.json
Any hint on what's happening?
Thanks for the help!
The text was updated successfully, but these errors were encountered: