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

Function integrationWithMetadata

apps/web/src/lib/bot/platforms/linear.test.ts:200–202  ·  view source on GitHub ↗
(metadata: PlatformIntegration['metadata'])

Source from the content-addressed store, hash-verified

198
199describe('createLinearBotPlatform.isEnabledForBot', () => {
200 function integrationWithMetadata(metadata: PlatformIntegration['metadata']): PlatformIntegration {
201 return { metadata } as PlatformIntegration;
202 }
203
204 it('returns true only when metadata.bot_enabled is the boolean true', () => {
205 expect(linearPlatform.isEnabledForBot(integrationWithMetadata({ bot_enabled: true }))).toBe(

Callers 1

linear.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected