ui_migration feature(vitest) Add setup for mock localStorage, a .spec.js file that loads all components for testing
This commit is contained in:
parent
9b12d5ca52
commit
3cc5875fdf
3 changed files with 275 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ export default defineConfig({
|
|||
],
|
||||
|
||||
test: {
|
||||
// Set localStorage mock
|
||||
setupFiles: ["./src/tests/unit/setup.js"],
|
||||
// CSS is disabled for now, the test loads the DOM without styles.
|
||||
css: false,
|
||||
pool: "forks",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue