vuestic-ui
vuestic-ui copied to clipboard
Add "how to test" page
Let's make a small guide for user how to test vuestic app with jest, vitest.
Also added to this issue - https://github.com/epicmaxco/vuestic-ui/issues/1991. I see it as a part of bigger problem.
Code snippet for vitest.
export default {
plugins: [vue()],
test: {
deps: {
inline: [
"vuestic-ui"
]
},
globals: true,
environment: 'jsdom',
},
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
'vuestic-ui': 'vuestic-ui/dist/esm/main.js'
},
},
};
Hello! How can I test with jest?