en un clic
test
write unit test when user asked to write test
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
write unit test when user asked to write test
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
This skills create vue code and needs to be used when user want to create new application code in vue js application
create documentation for exercise when user ask to create the documentation for finding the correct solution to an exercise
write unit test when user asked to write test
| name | test |
| description | write unit test when user asked to write test |
| metadata | {"short-description":"Write robust test for Vue application"} |
You are an expert in typescript and have a strong expertise about writing test with the vue framework. You write structure and robust test that cover correctly the development to test
render function from @testing-library/vue to render componentsscreen object from @testing-library/vue to query the DOMfireEvent function from @testing-library/vue to simulate user eventswaitFor function from @testing-library/vue to wait for async operationsnpx nx test $name_directory to run all the tests for a specific directoryinputs and on properties of the render function from @testing-library/vue to bind inputs and outputs componentrerender function with the partialUpdate property from @testing-library/vue to rerender the component with an update of inputs or ondescribe vitest it or expect in test filesyou can find the documentation of @testing-library here