mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
* refactor(web): split global CSS by ownership * test(web): expand CSS imports in style checks * fix(web): keep privacy consent banner above modals
15 lines
624 B
TypeScript
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'));
|
|
});
|
|
});
|