Something went wrong. Try again.
ATProto-based AI Assistant Chat interface.
Something went wrong. Try again.
12345678910111213141516171819import '@testing-library/jest-dom/vitest'import { cleanup } from '@testing-library/react'import { afterEach } from 'vitest'
afterEach(cleanup)
// index.html carries the app name, filled in by the server.const appName = document.createElement('meta')appName.name = 'application-name'appName.content = 'SCN Chat'document.head.append(appName)
// jsdom has no ResizeObserver. Tests that need resize callbacks stub their own.globalThis.ResizeObserver ??= class { observe() {} unobserve() {} disconnect() {}} as unknown as typeof ResizeObserver