Clément Latzarus

a.k.a. clemlatz · développeur web

Ajouter un lien à Flus depuis une application iOS

Français ·

J’adore l’outil de veille Flus, mais il me manquait un moyen de pouvoir facilement ajouter un lien depuis mon téléphone ou ma tablette. J’ai donc créé un raccourci pour ça et je vous explique comment.

How to test react-router redirection with testing-library

English ·

React testing-library is very convenient to test React components rendering from props, fire events and check DOM elements. react-router uses a <Redirect> component to trigger a redirect, but how can we test that this component is called using testing-library?