Files
deepseek-harness/packages/test-support/client-runtime/tests/invariant.client.spec.ts
T

13 lines
538 B
TypeScript
Raw Normal View History

import { describe, expect, it } from 'vitest'
import { Context } from '@deepseek-ai/cordis'
import * as TestRuntimeInvariant from '@deepseek-ai/dsh-client-test-runtime/invariant'
2026-08-13 00:36:22 +08:00
import InvariantRegistry from '@deepseek-ai/dsh-invariants'
describe('invariant companion', () => {
it('registers under the package name with an empty installer', async () => {
const ctx = new Context()
2026-08-13 00:36:22 +08:00
await ctx.plugin(InvariantRegistry, { enabled: true })
await expect(ctx.plugin(TestRuntimeInvariant).await()).resolves.toBeDefined()
})
})