mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-28 08:49:38 +02:00
11 lines
550 B
TypeScript
11 lines
550 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
import * as posthog from './index.js';
|
|
|
|
describe('@ktx/connector-posthog package exports', () => {
|
|
it('exports the connector, dialect, descriptions, and live-database adapter', () => {
|
|
expect(posthog.KtxPostHogDialect).toBeTypeOf('function');
|
|
expect(posthog.KtxPostHogScanConnector).toBeTypeOf('function');
|
|
expect(posthog.createPostHogLiveDatabaseIntrospection).toBeTypeOf('function');
|
|
expect(posthog.getKtxPostHogPropertyDescription('$browser')).toBe('User browser name.');
|
|
});
|
|
});
|