chore(runtime): upgrade DSH and bundled plugins for runtime-7.10
This commit is contained in:
@@ -7,11 +7,11 @@ import { createConverter, runProcess } from './native-office.mjs';
|
||||
import { patchOffice, target } from './install-office-preview.mjs';
|
||||
|
||||
test('patch is exact, version gated and refuses repeat application', () => {
|
||||
const patched = patchOffice(target, '0.2.1-rc.2', '0.2.1-rc.2');
|
||||
const patched = patchOffice(target, '0.2.1-rc.3', '0.2.1-rc.3');
|
||||
assert.match(patched, /dsh-native-office/);
|
||||
for (const source of ['', target + target, patched]) assert.throws(() => patchOffice(source, '0.2.1-rc.2', '0.2.1-rc.2'));
|
||||
assert.throws(() => patchOffice(target, 'next', '0.2.1-rc.2'));
|
||||
assert.throws(() => patchOffice(target, '0.2.1-rc.2', 'next'));
|
||||
for (const source of ['', target + target, patched]) assert.throws(() => patchOffice(source, '0.2.1-rc.3', '0.2.1-rc.3'));
|
||||
assert.throws(() => patchOffice(target, 'next', '0.2.1-rc.3'));
|
||||
assert.throws(() => patchOffice(target, '0.2.1-rc.3', 'next'));
|
||||
});
|
||||
|
||||
test('process cancellation, missing binary and failure are classified', async () => {
|
||||
|
||||
Reference in New Issue
Block a user