mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-16 20:43:48 +00:00
Updated travis to run mutations on changed files only
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
const jestConfig = require(`${__dirname}/jest.config.js`);
|
||||
|
||||
// reporters: clear-text
|
||||
|
||||
module.exports = (config) => config.set({
|
||||
mutate: jestConfig.collectCoverageFrom,
|
||||
mutator: {
|
||||
name: 'javascript',
|
||||
excludedMutations: [ 'BooleanSubstitution', 'StringLiteral' ],
|
||||
},
|
||||
mutator: 'javascript',
|
||||
testRunner: 'jest',
|
||||
reporters: [ 'progress' ],
|
||||
reporters: [ 'progress', 'clear-text' ],
|
||||
coverageAnalysis: 'off',
|
||||
jest: {
|
||||
projectType: 'custom',
|
||||
@@ -21,4 +16,7 @@ module.exports = (config) => config.set({
|
||||
low: 60,
|
||||
break: null,
|
||||
},
|
||||
clearTextReporter: {
|
||||
logTests: false,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user