6 lines
196 B
JavaScript
6 lines
196 B
JavaScript
|
|
import { beforeEach, afterEach } from 'vitest'
|
||
|
|
|
||
|
|
// Svuota localStorage prima e dopo ogni test per garantire isolamento
|
||
|
|
beforeEach(() => localStorage.clear())
|
||
|
|
afterEach(() => localStorage.clear())
|