mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* optimise lint targets * fix eslint config files * fix app coverage settings * tune eslint to warn about optional chains
16 lines
460 B
JavaScript
16 lines
460 B
JavaScript
// Karma configuration file, see link for more information
|
|
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
const { join } = require('path');
|
|
const getBaseKarmaConfig = require('../karma.conf');
|
|
|
|
module.exports = function (config) {
|
|
const baseConfig = getBaseKarmaConfig();
|
|
config.set({
|
|
...baseConfig,
|
|
coverageReporter: {
|
|
...baseConfig.coverageReporter,
|
|
dir: join(__dirname, '../coverage/content-ce')
|
|
}
|
|
});
|
|
};
|