Files
dsh-unrestricted/tests/manifest.spec.mjs
T

19 lines
728 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-settings-plugins',
])
assert.equal(manifest.dsh.client.platform, 'web')
assert.equal(manifest.dsh.bundle.patch, './cordis.patch.yml')
})