mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-11-28 02:30:22 +08:00
19 lines
726 B
JavaScript
19 lines
726 B
JavaScript
import assert from 'node:assert/strict'
|
|
import { readFile } from 'node:fs/promises'
|
|
import { test } from 'node:test'
|
|
|
|
const manifest = JSON.parse(await readFile(new URL('../package.json', import.meta.url), 'utf8'))
|
|
|
|
test('declares the current master client renderer and settings dependencies', () => {
|
|
assert.deepEqual(manifest.dsh.client.inject, [
|
|
'@deepseek-ai/dsh-client-connection',
|
|
'@deepseek-ai/dsh-client-locale',
|
|
'@deepseek-ai/dsh-api-remotes',
|
|
'@deepseek-ai/dsh-client-ui-renderer',
|
|
'@deepseek-ai/dsh-client-ui-settings',
|
|
'@deepseek-ai/dsh-client-ui-plugin-manager',
|
|
])
|
|
assert.equal(manifest.dsh.client.platform, 'web')
|
|
assert.equal(manifest.dsh.bundle.patch, './cordis.patch.yml')
|
|
})
|