Add live English and German interface switching, animated navigation and history controls, improved update changelogs, remembered upload folders, reliable repeated hot reloads, and refreshed public documentation.
12 lines
490 B
JavaScript
12 lines
490 B
JavaScript
const test = require('node:test');
|
|
const assert = require('node:assert/strict');
|
|
const fs = require('node:fs');
|
|
const path = require('node:path');
|
|
|
|
test('dev runner cannot let an old child exit clear the current Electron process', () => {
|
|
const source = fs.readFileSync(path.join(__dirname, '..', 'scripts', 'dev-runner.cjs'), 'utf8');
|
|
|
|
assert.match(source, /const startedChild = spawn\(electron/u);
|
|
assert.match(source, /if \(child !== startedChild\) return;\s*child = null;/u);
|
|
});
|