First of all, thank you for your contribution.
I am using jest snapshot for snapshoting template state of Vue component - SFC (single file component) and instanbul comments get into template and so it breaks snapshots. I think it is Vue loader or something which replaces controller functions references in templates with their implementation. Maybe serializer would removesuch javascript code from templates? 🙏 🤷
template source look like this:
<h6>{{ $t('user.profile.title') }}</h6>
<ws-input
v-model="newUser.personalInformation.login"
name="username"
:label="$t('user.login.label')"
autocomplete="username"
path="user.personalInformation.login"
debounce="300"
required
:lazy-rules="false"
restrict="0-9A-Za-z\-\."
:rules="[required, minLength(2), maxLength(125), uniqueLogin]"
/>
Thank you for any help 🙏
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4