mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change.
17 lines
689 B
TypeScript
17 lines
689 B
TypeScript
import { Context } from '@deepseek-ai/cordis'
|
|
import { describe, expect, it } from 'vitest'
|
|
import InvariantRegistry from '@deepseek-ai/dsh-invariants'
|
|
import * as PluginInventoryInvariant from '../src/invariant.ts'
|
|
|
|
describe('plugin-inventory invariant companion', () => {
|
|
it('registers the package-owned empty installer', async () => {
|
|
const ctx = new Context()
|
|
await ctx.plugin(InvariantRegistry, { enabled: true })
|
|
const fiber = ctx.plugin(PluginInventoryInvariant)
|
|
await expect(fiber.await()).resolves.toBeDefined()
|
|
await fiber.dispose()
|
|
await expect(ctx.plugin(PluginInventoryInvariant).await()).resolves.toBeDefined()
|
|
await ctx.fiber.dispose()
|
|
})
|
|
})
|