open-design/apps/web/tests/components/Theater/styles.test.ts
Marc Chan 619087a6b4
refactor(web): split global CSS by ownership (#2609)
* refactor(web): split global CSS by ownership

* test(web): expand CSS imports in style checks

* fix(web): keep privacy consent banner above modals
2026-05-25 05:48:28 +00:00

15 lines
624 B
TypeScript

import { describe, expect, it } from 'vitest';
import { readExpandedIndexCss } from '../../helpers/read-expanded-css';
describe('Critique Theater styles', () => {
it('keeps the Theater UI selectors in the global stylesheet', () => {
const css = readExpandedIndexCss();
expect(css).toContain('.theater-stage');
expect(css).toContain('.theater-lane');
expect(css).toContain('.theater-score-ticker');
expect(css).toContain('.theater-interrupt');
expect(css).toContain('.theater-transcript');
expect(css.indexOf('.theater-stage')).toBeLessThan(css.indexOf('.assistant-feedback-wrap'));
});
});