Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

213 B
Raw Blame
/**
 * @returns clears the state that the app stores,
 * to avoid individual tests impacting each other
 */
function clearStoredAppState() {
  localStorage.clear()
}

beforeEach(() => {
  clearStoredAppState()
})