@oslokommune/punkt-elements
Version:
Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo
17 lines (16 loc) • 524 B
TypeScript
import { BaseTestConfig } from '../../tests/test-framework';
export interface ConsentTestConfig extends BaseTestConfig {
devMode?: boolean;
googleAnalyticsId?: string;
hotjarId?: string;
cookieDomain?: string;
cookieSecure?: string;
cookieExpiryDays?: string;
triggerType?: string;
triggerText?: string;
i18nLanguage?: string;
}
export declare const createConsentTest: (config?: ConsentTestConfig) => Promise<{
container: HTMLElement;
consent: import('./consent').PktConsent;
}>;