Adam Shaw 9 лет назад
Родитель
Сommit
44d57aeef6
1 измененных файлов с 0 добавлено и 101 удалено
  1. 0 101
      karma.conf.js

+ 0 - 101
karma.conf.js

@@ -1,101 +0,0 @@
-
-module.exports = function(config) {
-	config.set({
-
-		// base path, that will be used to resolve files and exclude
-		basePath: '',
-
-		// frameworks to use
-		frameworks: [ 'jasmine' ],
-
-		// list of files / patterns to load in the browser
-		files: [
-
-			// For IE8 testing. Because doesn't have forEach and other ES5 methods
-			// which are common in the tests.
-			// You must run `bower install es5-shim` first.
-			//'../lib/es5-shim/es5-shim.js',
-
-			// For IE8 testing, we'll need jQuery 1.x. Before running karma, force the version:
-			// `bower install jquery#1` and choose 1
-			// to undo: `bower update jquery`
-
-			'../lib/moment/moment.js',
-			'../lib/jquery/dist/jquery.js',
-			'../lib/jquery-ui/jquery-ui.js',
-			'../lib/jquery-ui/themes/cupertino/jquery-ui.min.css',
-
-			'../lib/jquery-simulate/jquery.simulate.js',
-			'../lib/jquery-mockjax/dist/jquery.mockjax.js',
-			'../lib/jasmine-jquery/lib/jasmine-jquery.js',
-			'../lib/jasmine-fixture/dist/jasmine-fixture.js',
-
-			'../tests/lib/jasmine-ext.js',
-			'../tests/lib/simulate.js',
-			'../tests/lib/dom-utils.js',
-			'../tests/lib/dnd-resize-utils.js',
-			'../tests/lib/time-grid.js',
-			'../tests/base.css',
-
-			'../dist/fullcalendar.js',
-			'../dist/gcal.js',
-			'../dist/lang-all.js',
-			'../dist/fullcalendar.css',
-
-			// For testing if scheduler's JS, even when not actived, screws anything up
-			//'../../fullcalendar-scheduler/dist/scheduler.js',
-			//'../../fullcalendar-scheduler/dist/scheduler.css',
-
-			// serve everything in the dist directory, like sourcemaps and the files they reference (in dist/src).
-			// above files take precedence of over this, and will be watched. never cache (always serve from disk).
-			{ pattern: '../dist/**/*', included: false, watched: false, nocache: true },
-
-			// serve assets for 3rd-party libs, like jquery-ui theme images.
-			{ pattern: '../lib/**/*', included: false, watched: false, nocache: true },
-
-			// For IE8 testing. Because it can't handle running all the tests at once.
-			// Comment out the *.js line and run karma with each of the lines below.
-			//'../tests/automated/{a,b,c,d,e,f,g,h,i,j,k,l}*.js'
-			//'../tests/automated/{m,n}*.js' // mostly moment tests
-			//'../tests/automated/{o,p,q,r,s,t,u,v,w,x,y,z}*.js'
-
-			'../tests/automated/*.js'
-		],
-
-		// list of files to exclude
-		exclude: [],
-
-		// test results reporter to use
-		// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
-		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_INFO,
-
-		// enable / disable watching file and executing tests whenever any file changes
-		autoWatch: true,
-
-		// If browser does not capture in given timeout [ms], kill it
-		captureTimeout: 60000,
-
-		// force a window size for PhantomJS, because it's usually unreasonably small, resulting in offset problems
-		customLaunchers: {
-			PhantomJS_custom: {
-				base: 'PhantomJS',
-				options: {
-					viewportSize: {
-						width: 1024,
-						height: 768
-					}
-				}
-			}
-		}
-	});
-};