diff options
author | Anjali Walsatwar <anjali.walsatwar@huawei.com> | 2018-04-30 16:55:22 +0530 |
---|---|---|
committer | Anjali Walsatwar <anjali.walsatwar@huawei.com> | 2018-04-30 16:55:22 +0530 |
commit | a98bd2efb380606ed749c17544ea0be34950dac2 (patch) | |
tree | e04433b0b41f3401a550260576b25bd8f9ab6d01 /vnfmarket-be/portal-marketplace/src/main/webapp/karma.conf.js | |
parent | 243dd9320bcaf4def0ef3f9cbf21eb0415263e6a (diff) |
third party code optimization
Issue-ID: VNFSDK-258
Change-Id: Ia91277aed564485f669fb5010982a3f1ed6f8c57
Signed-off-by: Anjali Walsatwar <anjali.walsatwar@huawei.com>
Diffstat (limited to 'vnfmarket-be/portal-marketplace/src/main/webapp/karma.conf.js')
-rw-r--r-- | vnfmarket-be/portal-marketplace/src/main/webapp/karma.conf.js | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/vnfmarket-be/portal-marketplace/src/main/webapp/karma.conf.js b/vnfmarket-be/portal-marketplace/src/main/webapp/karma.conf.js deleted file mode 100644 index ee858bba..00000000 --- a/vnfmarket-be/portal-marketplace/src/main/webapp/karma.conf.js +++ /dev/null @@ -1,113 +0,0 @@ -/* - - Copyright 2016-2017, Huawei Technologies Co., Ltd. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -*/ - - -'use strict'; - -// Karma configuration -module.exports = function (config) { - config.set({ - // Frameworks to use - frameworks: ['jasmine'], - - // List of files / patterns to load in the browser - files: [ - 'src/bower_components/jquery/dist/jquery.js', - 'src/bower_components/es5-shim/es5-shim.js', - 'src/bower_components/json3/lib/json3.min.js', - 'src/bower_components/angular/angular.js', - 'src/bower_components/angular-aria/angular-aria.js', - 'src/bower_components/angular-resource/angular-resource.js', - 'src/bower_components/angular-mocks/angular-mocks.js', - 'src/bower_components/angular-cookies/angular-cookies.js', - 'src/bower_components/angular-sanitize/angular-sanitize.js', - 'src/bower_components/angular-animate/angular-animate.js', - 'src/bower_components/angular-touch/angular-touch.js', - 'src/bower_components/angular-ui-router/release/angular-ui-router.js', - 'src/bower_components/angular-aria/angular-aria.js', - 'src/bower_components/angular-material/angular-material.js', - 'src/bower_components/angular-messages/angular-messages.js', - 'src/bower_components/angular-material-icons/angular-material-icons.js', - 'app/app.js', - 'app/modules/home/homeModule.js', - 'app/modules/home/homeCtrl.js', - 'app/modules/home/homeRoute.js', - 'app/modules/home/homeService.js', - 'app/modules/home/home-test.js', - 'app/modules/user/userModule.js', - 'app/modules/user/userCtrl.js', - 'app/modules/user/userRoute.js', - 'app/modules/user/userService.js', - 'app/modules/user/user-test.js', - 'app/modules/marketplace/marketplaceModule.js', - 'app/modules/marketplace/marketplaceCtrl.js', - 'app/modules/marketplace/marketplaceRoute.js', - 'app/modules/marketplace/marketplaceService.js', - 'app/modules/marketplace/marketplace-test.js', - 'app/modules/about/aboutModule.js', - 'app/modules/about/aboutCtrl.js', - 'app/modules/about/aboutRoute.js', - 'app/modules/about/aboutService.js', - 'app/modules/about/about-test.js', - ], - - // Test results reporter to use - // Possible values: 'dots', 'progress', 'junit', 'growl', 'coverage' - //reporters: ['progress'], - reporters: ['spec'], - - plugins : [ - 'karma-jasmine', - 'karma-coverage', - 'karma-chrome-launcher', - 'karma-firefox-launcher', - 'karma-phantomjs-launcher', - 'karma-spec-reporter' - ], - - // Web server port - port: 9876, - - // Enable / disable colors in the output (reporters and logs) - colors: true, - - // Level of logging - // Possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // Enable / disable watching file and executing tests whenever any file changes - autoWatch: true, - - // Start these browsers, currently available: - // - Chrome - // - ChromeCanary - // - Firefox - // - Opera - // - Safari (only Mac) - // - PhantomJS - // - IE (only Windows) - browsers: ['PhantomJS'], - - // If browser does not capture in given timeout [ms], kill it - captureTimeout: 60000, - - // Continuous Integration mode - // If true, it capture browsers, run tests and exit - singleRun: true - }); -}; |