You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unit testing the mobility circuit feature , and I kept having Jest throwing up that snapshots changed.
tests on ci.inria.fr work fine
when running the test on my own laptop, the snapshots differ by some whitespaces in a multiselect component.
example:
● UserForm.vue › should match snapshot 2
expect(value).toMatchSnapshot()
Received value does not match stored snapshot "UserForm.vue should match snapshot 2 1".
- Snapshot
+ Received
@@ -48,11 +48,11 @@
class="mymultiselect"
custom-label="function () { [native code] }"
deselectgrouplabel="Press enter to deselect group"
deselectlabel="Press enter to remove"
limit="99999"
- limittext="function (t){return"and ".concat(t," more")}"
+ limittext="function(t){return"and ".concat(t," more")}"
I found this: vuejs/vue-cli#2995
They are also using vue-multiselect, and the problem is similar, there might be a subtle difference in configuration between my machine and the CI one, it might be due to vue-multiselect, not sure, but this is annoying
The text was updated successfully, but these errors were encountered:
I was unit testing the mobility circuit feature , and I kept having Jest throwing up that snapshots changed.
example:
I found this:
vuejs/vue-cli#2995
They are also using vue-multiselect, and the problem is similar, there might be a subtle difference in configuration between my machine and the CI one, it might be due to vue-multiselect, not sure, but this is annoying
The text was updated successfully, but these errors were encountered: