Add CCLiveTranscriptionShapeUtil unit tests (26 passing)

This commit is contained in:
CC Worker
2026-05-31 21:01:56 +00:00
parent 2d15b7cc03
commit df59207add
2 changed files with 454 additions and 0 deletions
+13
View File
@@ -1,3 +1,16 @@
/* eslint-disable import/no-extraneous-dependencies */
import '@testing-library/jest-dom';
import { expect } from 'vitest';
if (typeof globalThis.matchMedia !== 'function') {
vi.stubGlobal('matchMedia', () => ({
matches: false,
media: '',
onchange: null,
addListener: () => {},
removeListener: () => {},
addEventListener: () => {},
removeEventListener: () => {},
dispatchEvent: () => false,
} as unknown as MediaQueryList))
}