Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change.
16 lines
631 B
TypeScript
16 lines
631 B
TypeScript
import { Context } from '@deepseek-ai/cordis'
|
|
import { describe, expect, it } from 'vitest'
|
|
import InvariantRegistry from '@deepseek-ai/dsh-invariants'
|
|
import * as PluginsInvariant from '../src/invariant.ts'
|
|
|
|
describe('ui-settings-plugin-inventory invariant companion', () => {
|
|
it('registers the empty installer and keeps the node half inert', async () => {
|
|
const ctx = new Context()
|
|
await ctx.plugin(InvariantRegistry, { enabled: true })
|
|
await expect(ctx.plugin(PluginsInvariant).await()).resolves.toBeDefined()
|
|
const { apply } = await import('../src/index.ts')
|
|
apply()
|
|
await ctx.fiber.dispose()
|
|
})
|
|
})
|