Sollicitatievraag bij Maze

How would I write a test for the component from the live coding excercise