module.exports = (config) => {
    const options = {
        reporters: ["coverage-istanbul", "junit"],
        frameworks: ["mocha"],
        files: [
            {pattern: require.resolve("chai/chai"), watched: false},
            {pattern: require.resolve("vue/dist/vue"), watched: false},
            {pattern: require.resolve("three"), watched: false},
            {pattern: "test/**/*.spec.js", watched: false}
        ],
        preprocessors: {
            "test/**/*.spec.js": ["rollup"]
        },
        rollupPreprocessor: {
            format: "iife",
            external: "three",
            globals: {
                three: "THREE"
            },
            plugins: [
                require("rollup-plugin-istanbul")({include: "src/**"}),
                require("rollup-plugin-babel")()
            ],
            sourcemap: "inline"
        },
        coverageIstanbulReporter: {
            reports: ["html"],
            dir: require("path").resolve("coverage/%browser%")
        },
        junitReporter: {
            outputDir: "junit"
        }
    };
    
    if (process.env.CI) {
        options.reporters.push("saucelabs");
        options.sauceLabs = {
            testName: "VueGL unit test",
            recordScreenshots: false,
            public: "public restricted"
        };
        options.customLaunchers = {
            "Chrome 26 on Windows 7": {
                base: "SauceLabs",
                platform: "Windows 7",
                browserName: "chrome",
                version: "26"
            },
            "Chrome (latest) on Windows 7": {
                base: "SauceLabs",
                platform: "Windows 7",
                browserName: "chrome",
                version: "latest"
            },
            "Internet Explorer 9 on Windows 7": {
                base: "SauceLabs",
                platform: "Windows 7",
                browserName: "internet explorer",
                version: "9"
            },
            "Internet Explorer (latest) on Windows 7": {
                base: "SauceLabs",
                platform: "Windows 7",
                browserName: "internet explorer",
                version: "latest"
            },
            "Firefox 4 on Windows 7": {
                base: "SauceLabs",
                platform: "Windows 7",
                browserName: "firefox",
                version: "4"
            },
            "Firefox (latest) on Windows 7": {
                base: "SauceLabs",
                platform: "Windows 7",
                browserName: "firefox",
                version: "latest"
            },
            "Opera 11 on Windows 7": {
                base: "SauceLabs",
                platform: "Windows 7",
                browserName: "Opera",
                version: "11"
            },
            "Opera (latest) on Windows 7": {
                base: "SauceLabs",
                platform: "Windows 7",
                browserName: "Opera",
                version: "latest"
            }
        };
        options.browsers = Object.keys(options.customLaunchers);
        options.singleRun = true;
        options.concurrency = 5;
    }
    
    config.set(options);
};

@@ -2988,32 +2988,452 @@
 rsion: %22latest%22%0A
+            %7D,%0A            %22Edge 13 on Windows 10%22: %7B%0A                base: %22SauceLabs%22,%0A                platform: %22Windows 10%22,%0A                browserName: %22MicrosoftEdge%22,%0A                version: %2213%22%0A            %7D,%0A            %22Edge (latest) on Windows 10%22: %7B%0A                base: %22SauceLabs%22,%0A                platform: %22Windows 10%22,%0A                browserName: %22MicrosoftEdge%22,%0A                version: %22latest%22%0A
             %7D%0A  

Add the edge on win10 cababilities for the unit testing.