Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Not able to load the viewModel.js file of a custom component while doing unit testing using Karma ,j

Saudamini Behera-OracleAug 26 2019 — edited Aug 28 2019

Hi All,

My objective is to do unit testing for a JavaScript file of a UI component using unit testing framework karma and jasmine.

I have mapped all the required files correctly in my karma.conf.js file .

But still, on giving the command karma start, I am not able to load the viewModel,js file of my custom component.

PFA the error I am getting and kindly suggest some solution.

Thanks,

Saudamini Behera.

Comments
Post Details
Added on Aug 26 2019
4 comments
175 views