Comment mettre à jour les accessoires d'un composant rendu dans la bibliothèque de tests Vue
const { getByTestId, rerender } = render(Component, {
props: {
componentProp: 'some text',
},
});
// updating props
await rerender({
componentProp: 'another text',
});
Perfect Pigeon