diff --git a/bower.json b/bower.json index 588cd17..ee824e0 100644 --- a/bower.json +++ b/bower.json @@ -7,6 +7,7 @@ "angular-mocks": "1.5.9", "content-editor": "https://s3.ap-south-1.amazonaws.com/ekstep-public-prod/content-editor/scripts/script.min.1.35.859.js", "content-player": "https://s3.ap-south-1.amazonaws.com/ekstep-public-prod/v3/preview/script.min.1.9.686.js", + "toastr": "https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js", "renderer-createjs": "https://s3.ap-south-1.amazonaws.com/ekstep-public-prod/v3/preview/coreplugins/org.ekstep.ecmlrenderer-1.0/renderer/libs/createjs.min.js", "renderer-creatine": "https://s3.ap-south-1.amazonaws.com/ekstep-public-prod/v3/preview/coreplugins/org.ekstep.ecmlrenderer-1.0/renderer/libs/creatine-1.0.0.min.js", "renderer": "https://s3.ap-south-1.amazonaws.com/ekstep-public-prod/v3/preview/coreplugins/org.ekstep.ecmlrenderer-1.0/renderer/libs/renderer.min.js", diff --git a/lib/editor/karma.conf.js b/lib/editor/karma.conf.js index 227d662..b570718 100644 --- a/lib/editor/karma.conf.js +++ b/lib/editor/karma.conf.js @@ -7,7 +7,7 @@ module.exports = function(config) { var files = _.concat( [ __dirname + "/dom-simulation.js", - "bower_components/content-editor-dependency/index.js", + "bower_components/angular/angular.js", "bower_components/angular-mocks/angular-mocks.js", "bower_components/content-editor/index.js" ], diff --git a/lib/renderer/karma.conf.js b/lib/renderer/karma.conf.js index d180738..f8a7a6b 100644 --- a/lib/renderer/karma.conf.js +++ b/lib/renderer/karma.conf.js @@ -8,16 +8,15 @@ module.exports = function(config) { [ // TODO: Remove this hack to get jquery, angular etc till renderer exposes bundled dependency file // https://github.com/ekstep/Contributed-Plugins/issues/136 + "bower_components/jquery/dist/jquery.js", "bower_components/pollyfill/index.js", "bower_components/renderer-createjs/index.js", "bower_components/renderer-cordovaplugin/index.js", "bower_components/renderer-creatine/index.js", - "bower_components/renderer-dependency-toastr/index.js", + "bower_components/toastr/index.js", + "bower_components/content-player/index.js", "bower_components/renderer-angular-mocks/index.js", - "bower_components/renderer-telemetry/index.js", - "bower_components/renderer-dependency-appconfig/index.js", "bower_components/renderer/index.js", - "bower_components/renderer-telemetry/index.js", __dirname + "/dom-simulation.js", ], [