joaojmendes b0204bd14b New -React-Calendar Web part (#859)
* commit first

* Update README.md

* Update README.md

* first commit

* Change Docs

* Update README.md

* Update README.md

* Update Calendar Web Part

* Update README.md

* Update README.md

* Update Docs

* Update - Suport Create Event in SiteTimeZone

* update Docs

* update docs

* Update comments

* upd default start/end dates on prop panel

* update Prop

* upd default props panel

* upd comments
2019-05-04 17:58:48 +03:00

31 lines
1.1 KiB
JavaScript

"use strict";
var existingKarmaConfig = require('@microsoft/sp-build-web/lib/karma/karma.config');
var junitReporter = require('karma-junit-reporter');
module.exports = function (config) {
existingKarmaConfig(config);
config.reporters.push('junit');
config.set({
basePath: './..',
});
config.junitReporter = {
outputDir: 'temp/', // results will be saved as $outputDir/$browserName.xml
outputFile: 'test-results.xml', // if included, results will be saved as $outputDir/$browserName/$outputFile
suite: 'karma', // suite will become the package name attribute in xml testsuite element
useBrowserName: true, // add browser name to report and classes names
};
var coberturaSubDir = 'cobertura';
var coverageSubDir = 'lcov';
var coberturaFileName = 'cobertura.xml';
config.coverageReporter.reporters.push({type: 'cobertura', subdir: './' + coberturaSubDir, file: coberturaFileName});
config.coverageReporter.reporters.push({
type: 'lcov',
subdir: './' + coverageSubDir + '/',
file: 'lcov.info'
});
config.browserNoActivityTimeout = 60000;
config.plugins.push(junitReporter);
};