MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / testConfig

Function testConfig

packages/core/analytics/src/analytics.test.ts:64–73  ·  view source on GitHub ↗
(dataDir: string)

Source from the content-addressed store, hash-verified

62 );
63
64const testConfig = (dataDir: string) => ({
65 surface: "cli" as const,
66 version: "0.0.0",
67 channel: "dev" as const,
68 dataDir,
69 disabled: false,
70 posthogHost: "https://posthog.test",
71 posthogKey: "phc_test",
72 flushInterval: Duration.hours(1),
73});
74
75describe("isAnalyticsDisabled", () => {
76 it("honors DO_NOT_TRACK and EXECUTOR_DISABLE_ANALYTICS", () => {

Callers 1

analytics.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected