MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / createPlatformIntegration

Function createPlatformIntegration

apps/web/src/lib/bot/platforms/linear.test.ts:147–157  ·  view source on GitHub ↗
(
  overrides: Partial<PlatformIntegration> = {}
)

Source from the content-addressed store, hash-verified

145}
146
147function createPlatformIntegration(
148 overrides: Partial<PlatformIntegration> = {}
149): PlatformIntegration {
150 return {
151 id: 'pi_1',
152 platform: PLATFORM.LINEAR,
153 platform_installation_id: 'org-abc',
154 metadata: null,
155 ...overrides,
156 } as PlatformIntegration;
157}
158
159describe('createLinearBotPlatform.getIdentity', () => {
160 it('extracts organizationId from a LinearCommentRawMessage', async () => {

Callers 1

linear.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected