The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { DEFAULT_INPUT_MEDIA_FEATURES } from '@/constants/DefaultInputMediaFeatures';
import { type MediaQueryEnvironment } from '@/polyfills/media-query/types/MediaQueryEnvironment';
export const createMediaQueryEnvironmentFixture = (
overrides: Partial<MediaQueryEnvironment> = {},
): MediaQueryEnvironment => ({
componentWidth: 0,
componentHeight: 0,
devicePixelRatio: 1,
colorScheme: 'light',
...DEFAULT_INPUT_MEDIA_FEATURES,
...overrides,
});