X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9559f99e87eaa89fec3095451a6ad60f5ead13e2..9255c2fe5083c35b4f6e5c098813842025f4772d:/karma.conf.js diff --git a/karma.conf.js b/karma.conf.js index ce49467..913c295 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,36 +1,35 @@ -basePath = ''; - -files = [ - MOCHA, - MOCHA_ADAPTER, - /*REQUIRE, - REQUIRE_ADAPTER*/ - 'tests/mocha.conf.js', - 'libs/chai.js', - 'libsjquery-1.9.1.min.js', - 'modules/documentCanvas/tests/tests_transform.js' - -]; - -reporters = ['progress']; - -port = 9876; -runnerPort = 9100; -captureTimeout = 60000; - -autoWatch = true; -singleRun = false; - -browsers = ['PhantomJS']; - -colors = true; -logLevel = LOG_INFO; - - - - - - - - - +basePath = ''; + +files = [ + MOCHA, + MOCHA_ADAPTER, + REQUIRE, + REQUIRE_ADAPTER, + + {pattern: 'libs/*.js', included: false}, + {pattern: 'src/**/*.js', included: false}, + {pattern: 'src/**/*.html', included: false}, + {pattern: 'src/**/*.xml', included: false}, + 'tests/main.js', +]; + +reporters = ['progress']; + +port = 9876; +runnerPort = 9100; +captureTimeout = 60000; + +autoWatch = true; +singleRun = false; + +colors = true; +logLevel = LOG_INFO; + + + + + + + + +