message: white_check_mark: Ajout d'un test d'intervalle pour le nombre de
  questions
diff: import { expect } from 'chai'
  import dedent from 'dedent-js'
  import yaml from 'js-yaml'
  -import { enrichRule } from '../source/engine/rules'
  +import { enrichRule, rulesFr as rules } from '../source/engine/rules'
  import reducers from '../source/reducers/reducers'
  -import { currentQuestionSelector } from '../source/selectors/analyseSelectors'
  +import {
  + currentQuestionSelector,
  + nextStepsSelector
  +} from '../source/selectors/analyseSelectors'
  import { merge, assocPath } from 'ramda'
  +import { popularTargetNames } from '../source/components/TargetSelection'
  let baseState = {
  conversationSteps: { foldedSteps: [] },
  @@ -134,3 +138,14 @@ describe('conversation', function() {
  expect(currentQuestionSelector(step2, { rules })).to.equal('cadre')
  })
  })
  +describe('real conversation', function() {
  + it('should not have more than X questions', function() {
  + let state = merge(baseState, {
  + targetNames: popularTargetNames
  + }),
  + nextSteps = nextStepsSelector(state, { rules })
  +
  + expect(nextSteps.length).to.be.below(30) // If this breaks, that's good news
  + expect(nextSteps.length).to.be.above(10)
  + })
  +})
  