angularjs - Karma Unit Test Error [Phantom Browser] -
i create project using jhipster , combine theme bought themeforest. when try create war, got error this. theme's component error when tested karma
phantomjs 1.9.8 (mac os x) error typeerror: 'undefined' not function (evaluating '$.fn.vectormap') @ /volumes/permanent/sts-workspace/emsv2/src/main/webapp/scripts/libs/jquery/jvectormap/jquery-jvectormap-world-mill-en.js:1 phantomjs 1.9.8 (mac os x) error typeerror: 'undefined' not object (evaluating '$.fn.tooltip.constructor') @ /volumes/permanent/sts-workspace/emsv2/src/main/webapp/scripts/libs/jquery/popover/bootstrap-popover.js:37 phantomjs 1.9.8 (mac os x) error typeerror: 'undefined' not object (evaluating '$.fn.tooltip.constructor') @ /volumes/permanent/sts-workspace/emsv2/src/main/webapp/scripts/libs/jquery/popover/popover.js:32
how did install theme?
usually, when installing client dependency in jhipster, use bower takes care of updating index.html , karma.conf.js. if installed manually have in both files.
Comments
Post a Comment