Closed aniketstiwari closed 4 years ago
Based on that error and stack trace, it looks like sprockets is finding a duplicate asset when Jasmine is attempting to render your page. The way that Jasmine looks up assets has changed a bit around 3.0 and it's possible that this duplication wasn't a problem in earlier versions.
We are using basically the same code to pull debug assets as sprockets-rails does, so I would expect you to get the same error in rails with debug assets turned on.
Can you check your js assets for duplicates or try your rails app with debug assets and not just sourcemaps and see if you see the issue there as well?
We haven't heard anything further on this issue in quite some time, so I'm going to close it. Please update or open a new issue if you have more information or a succinct reproduction.
Thanks for using Jasmine!
After updating jasmine from jasmine 2.4.0 to jasmine 3.3.0 I am getting some error. The bellow error comes after when my all specs run completely. Also, because of the upgradation I am getting more jasmine failures.
My configuration
Rails- 5.2.2 ruby - 2.5.3 jasmine (3.3.0) jasmine-core (~> 3.3.0) phantomjs rack (>= 1.2.1) rake jasmine-core (3.3.0) jasmine-jquery-rails (2.0.3)