✅ Corrige le test sur les objectifs
parent
66dd278972
commit
2de69160fb
|
@ -271,7 +271,7 @@ describe('buildNextSteps', function() {
|
|||
objectives = getObjectives(stateSelector, situation.root, situation.parsedRules),
|
||||
result = buildNextSteps(stateSelector, rules, situation)
|
||||
|
||||
expect(objectives).to.have.lengthOf(2)
|
||||
expect(objectives).to.have.lengthOf(3) // Salaire net, coût du travail, surcoût CDD
|
||||
expect(result).to.have.lengthOf(3)
|
||||
expect(R.path(["question","props","label"])(result[0])).to.equal("Quel est le salaire brut ?")
|
||||
expect(R.path(["question","props","label"])(result[1])).to.equal("Le salarié a-t-il le statut cadre ?")
|
||||
|
|
Loading…
Reference in New Issue