difficulty | training | chapter | tags |
---|---|---|---|
1 |
true |
Chapter 4: Testing Vue Components and Composables |
vue |
Your task is to create a component test for the ToggleInput
component we created earlier in the training.
- Test that the v-model value correctly toggles between
true
andfalse
when the component is clicked
💡 HINT: Feel free to use TypeScript to make your component test type safe if you'd like. This is NOT required however.
💡 HINT: Run the tests with
yarn test:unit