The mounting function you settle with, is a matter of testing strategy. While many prefer using “mount”, arguing that this is more “authentic”, you might have good reasons to think twice.
This article will lean on some best practices from Yoni Goldberg’s book on testing JavaScript, and try to translate his perspectives into the context of testing Vue-components.
If you ever worked with an application that saves, mutates, or displays timestamps of any kind, you surely know that time zones can be a reason to exercise caution.