Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

674 B
Raw Blame
import { composeStoryMocks } from '../controls/composeStoryMocks';
import { appShellMocks } from './appShellMocks';
import { authzMocks } from './authzMocks';
import { nozMocks } from './nozMocks';
import { toastMocks } from './toastMocks';
import { tooltipMocks } from './tooltipMocks';

/**
 * The mock modules every story carries, page or component, declared at project
 * level in `.storybook/preview.tsx`. Adding one here publishes its controls and
 * widens `PageStoryArgs` in the same edit.
 */
export const globalMocks = composeStoryMocks(
	authzMocks,
	appShellMocks,
	nozMocks,
	tooltipMocks,
	toastMocks,
);

export type GlobalMockArgs = typeof globalMocks.args;