From 63cdff68802cec7112853910eb50096be8fd770a Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Sun, 1 Jun 2014 18:15:26 -0700 Subject: [PATCH] add notes on hacks to use karma with IE8 --- build/karma.conf.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build/karma.conf.js b/build/karma.conf.js index 459a360..d76bfe0 100644 --- a/build/karma.conf.js +++ b/build/karma.conf.js @@ -10,6 +10,12 @@ module.exports = function(config) { // 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', + '../lib/moment/moment.js', '../lib/jquery/dist/jquery.js', '../lib/jquery-ui/ui/jquery-ui.js', @@ -34,6 +40,12 @@ module.exports = function(config) { '../dist/fullcalendar.css', '../tests/base.css', '../tests/automated/*.js' + + // For IE8 testing. Because it can't handle running all the tests at once. + // Comment the above line and run karma with each of the below lines uncommented. + //'../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' ], // list of files to exclude