From 4719fd4865bdd5f8c0668a34eb007ff5a43af1b1 Mon Sep 17 00:00:00 2001 From: Kevin Hill Date: Wed, 15 Mar 2017 20:00:15 +0100 Subject: [PATCH] These shouldnt be here --- configs/karma.conf.dist.js | 25 --------- configs/karma.conf.js | 107 ------------------------------------- configs/phpunit.xml | 55 ------------------- 3 files changed, 187 deletions(-) delete mode 100755 configs/karma.conf.dist.js delete mode 100755 configs/karma.conf.js delete mode 100755 configs/phpunit.xml diff --git a/configs/karma.conf.dist.js b/configs/karma.conf.dist.js deleted file mode 100755 index 8b3d6147..00000000 --- a/configs/karma.conf.dist.js +++ /dev/null @@ -1,25 +0,0 @@ -module.exports = function (config) { - config.set({ - basePath: '../javascript', - frameworks: [ - 'jasmine' - ], - files: [ - '/dist/lava.min.js', - '/tests/lava.spec.js' - ], - singleRun: true, - plugins: [ - 'karma-jasmine', - 'karma-phantomjs-launcher' - ], - reporters: [ - 'dots' - ], - port: 9876, - colors: true, - logLevel: config.LOG_ERROR, - autoWatch: false, - browsers: ['PhantomJS'] - }); -}; diff --git a/configs/karma.conf.js b/configs/karma.conf.js deleted file mode 100755 index bf7cda36..00000000 --- a/configs/karma.conf.js +++ /dev/null @@ -1,107 +0,0 @@ -module.exports = function(config) { - config.set({ - basePath: '../javascript', - - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: [ - 'jasmine', - 'detectBrowsers' - ], - - // list of files / patterns to load in the browser - files: [ - '/dist/lava.min.js', - '/tests/lava.spec.js' - ], - - // list of files to exclude - exclude: [ - ], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - }, - - //CI Mode - singleRun: true, - - plugins: [ - 'karma-jasmine', - 'karma-detect-browsers', - 'karma-ie-launcher', - 'karma-chrome-launcher', - 'karma-firefox-launcher', - 'karma-phantomjs-launcher' - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: [ - 'dots' - ], - - // 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_ERROR, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: true, - - // start these browsers - // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['Chrome'], - - customLaunchers: { - IE10: { - base: 'IE', - 'x-ua-compatible': 'IE=EmulateIE10', - flags: ['-extoff'] - }, - IE9: { - base: 'IE', - 'x-ua-compatible': 'IE=EmulateIE9', - flags: ['-extoff'] - }, - IE8: { - base: 'IE', - 'x-ua-compatible': 'IE=EmulateIE8', - flags: ['-extoff'] - } - }, - - // detectBrowsers Configuration - detectBrowsers: { - // post processing of browsers list - // here you can edit the list of browsers used by karma - postDetection: function(availableBrowser) { - //Add IE Emulation - var result = availableBrowser; - - if (availableBrowser.indexOf('IE')>-1) { - result.push('IE8'); - result.push('IE9'); - result.push('IE10'); - } - - //Remove PhantomJS if another browser has been detected - if (availableBrowser.length > 1 && availableBrowser.indexOf('PhantomJS')>-1) { - var i = result.indexOf('PhantomJS'); - - if (i !== -1) { - result.splice(i, 1); - } - } - - return result; - } - } - }); -}; diff --git a/configs/phpunit.xml b/configs/phpunit.xml deleted file mode 100755 index a8f786d1..00000000 --- a/configs/phpunit.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - ../tests/LavachartsTest.php - ../tests/VolcanoTest.php - - - ../tests/Charts/ - - - ../tests/Configs/ - - - ../tests/Dashboards/ - - - ../tests/DataTables/ - - - ../tests/Javascript/ - - - ../tests/Values/ - - - - - - ../src/ - - - ../tests/Examples/ - ../vendor/ - ../src/Laravel/ - ../src/Symfony/ - - - - - - - - -