DNDGamePlayer: Electron редактор сцен, презентация, упаковка electron-builder

Made-with: Cursor
This commit is contained in:
Ivan Fontosh
2026-04-19 14:16:54 +08:00
commit a6cbcc273e
82 changed files with 22195 additions and 0 deletions
@@ -0,0 +1,28 @@
import assert from 'node:assert/strict';
import fs from 'node:fs';
import path from 'node:path';
import test from 'node:test';
import { fileURLToPath } from 'node:url';
import { ipcChannels } from './contracts';
const here = path.dirname(fileURLToPath(import.meta.url));
function readRel(rel: string): string {
return fs.readFileSync(path.join(here, rel), 'utf8');
}
void test('ipcChannels: удалён media API (быстрый микшер)', () => {
assert.ok(!('media' in ipcChannels));
});
void test('ControlApp: UI быстрого микшера удалён', () => {
const src = readRel('../../renderer/control/ControlApp.tsx');
assert.ok(!src.includes('Быстрый микшер'));
assert.ok(!src.includes('MixerRow'));
});
void test('main: обработчики media IPC удалены', () => {
const src = readRel('../../main/index.ts');
assert.ok(!src.includes('ipcChannels.media'));
});