mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Per-chart export: copy/download spec and PNG/SVG from the preview header
This commit is contained in:
@@ -50,6 +50,10 @@ vi.mock('./SettingsPopover', () => ({
|
||||
SettingRow: () => null,
|
||||
RangeControl: () => null,
|
||||
}));
|
||||
// Isolate the busy-overlay assertions (which locate the overlay by its
|
||||
// `aria-hidden="true"`) from the export control's own decorative icon: the
|
||||
// per-chart export is a sibling header control, mocked out like SettingsPopover.
|
||||
vi.mock('./ChartExport', () => ({ ChartExport: () => null }));
|
||||
|
||||
(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user