open-design/apps/web/tests/styles/plugin-share-confirm.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

11 lines
429 B
TypeScript

import { describe, expect, it } from 'vitest';
import { readExpandedIndexCss } from '../helpers/read-expanded-css';
describe('plugin share confirmation styles', () => {
it('keeps the publish dialog footer away from the modal edge', () => {
const css = readExpandedIndexCss();
expect(css).toContain('.plugin-share-confirm .plugin-details-modal__foot');
expect(css).toContain('padding: 16px 24px 22px;');
});
});