Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = function (config) {
const baseConfig = createKarmaConfig({
dirname: __dirname,
});
config.set(baseConfig);
config.set({
// disable coverage reporter
reporters: ["mocha"],
});
};
module.exports = function (config) {
const baseConfig = createKarmaConfig({
coverage: false,
dirname: __dirname,
});
config.set(baseConfig);
config.set({
// test task should pass; we intentionally have no tests
failOnEmptyTestSuite: false,
});
};
module.exports = function (config) {
const baseConfig = createKarmaConfig({
dirname: __dirname,
});
config.set(baseConfig);
config.set({
// overrides here
});
};
module.exports = function (config) {
const baseConfig = createKarmaConfig({
dirname: __dirname,
coverageExcludes: [
// not worth full coverage
"src/accessibility/*",
"src/common/abstractComponent*",
"src/common/abstractPureComponent*",
],
});
config.set(baseConfig);
config.set({
// overrides here
});
};
module.exports = function (config) {
const baseConfig = createKarmaConfig({
coverage: false,
dirname: __dirname,
});
config.set(baseConfig);
};
module.exports = function (config) {
const baseConfig = createKarmaConfig({
dirname: __dirname,
coverageOverrides: {
"src/cell/cell*": {
lines: 70,
},
"src/common/clipboard*": {
lines: 60,
statements: 60,
},
"src/headers/headerCell*": {
lines: 70,
statements: 70,
},
},
});
config.set(baseConfig);