Test automatisés avec Jest - Les fonctions mock