💚 répare les tests de non regression

pull/789/head
Johan Girod 2020-01-08 11:29:19 +01:00
parent 4139db82f5
commit fbdd7eba86
3 changed files with 4 additions and 8 deletions

View File

@ -22,9 +22,7 @@ export default (tracker: Tracker) => {
'trackEvent',
'Simulator',
'simulation completed',
'after ' +
newState.conversationSteps.foldedSteps.length +
' questions'
'after ' + newState.simulation.foldedSteps.length + ' questions'
])
}
}

View File

@ -14,9 +14,7 @@ let state = {
situation: {
'contrat salarié . rémunération . brut de base': '2300',
'entreprise . effectif': '50'
}
},
conversationSteps: {
},
foldedSteps: []
}
}

View File

@ -12,9 +12,9 @@ exports[`calculate simulations-artiste-auteur: salarié 2`] = `"[1603]"`;
exports[`calculate simulations-artiste-auteur: salarié 3`] = `"[12410]"`;
exports[`calculate simulations-auto-entrepreneur: aides 1`] = `"[5538,538,5000,0,5000]"`;
exports[`calculate simulations-auto-entrepreneur: aides 1`] = `"[5348,348,5000,0,5000]"`;
exports[`calculate simulations-auto-entrepreneur: aides 2`] = `"[55380,5380,50000,181,49819]"`;
exports[`calculate simulations-auto-entrepreneur: aides 2`] = `"[53485,3485,50000,93,49907]"`;
exports[`calculate simulations-auto-entrepreneur: impôt sur le revenu 1`] = `"[32092,7092,25000,706,24294]"`;