svelte-component-double
Version:
A test double for Svelte 3 components
31 lines (15 loc) • 405 B
Markdown
# How to test....
## That a component was rendered
### Just once
### Multiple times
## That the correct props were passed
### For the first call
### For the last call
### For the nth call
## Component bindings (by invalidating/dispatching the new value)
## Component events (by dispatching the event)
## Slots
## Slot props
## Named exports
# What about...
* Event forwarding