if (typeof window !== 'undefined') {
throw new Error(
'This smoke test must run without a global `window` — if it exists, it proves nothing.',
);
}if (typeof window !== 'undefined') {
throw new Error(
'This smoke test must run without a global `window` — if it exists, it proves nothing.',
);
}