mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
14 lines
502 B
TypeScript
14 lines
502 B
TypeScript
import { Context } from '@deepseek-ai/cordis'
|
|
import InvariantRegistry from '@deepseek-ai/dsh-invariants'
|
|
import { describe, expect, it } from 'vitest'
|
|
import * as GitHubInvariant from '../src/invariant.ts'
|
|
|
|
describe('GitHub webhook invariant companion', () => {
|
|
it('registers its explained empty installer', async () => {
|
|
const ctx = new Context()
|
|
await ctx.plugin(InvariantRegistry)
|
|
await expect(ctx.plugin(GitHubInvariant)).resolves.toBeDefined()
|
|
await ctx.fiber.dispose()
|
|
})
|
|
})
|