-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
problem
passing object to prop of one component should be serialized
example
serializing following component:
<template>
<div>
<custom-component :data="{a: true}">
</div>
</template>
gives you somehting like this:
exports[`InstantOrderForm snapshot renders 1`] = `
<div>
<custom-component-stub data="[object Object]">
</div>
solution
can this be fixed? am I doing something wrong?
I would like to keep data="{a: true}"
in snapshot