feat: ship isolated workspace review and navigation in 1.6.0
This commit is contained in:
@@ -17,6 +17,7 @@ function replaceControlFile(file, contents) {
|
||||
test('workspace HTTP ownership, reviewed creation and reopen survive restart without changing source files', { timeout: 60000 }, async t => {
|
||||
const f = fixture(t); createDeliveryProject(f); const before = captureWorkspaceSource(f); f.store.close();
|
||||
const host = await launchWorkbench(t, f.data), parent = '/sessions/' + f.session.id;
|
||||
assert.equal(host.bootstrap.capabilities.workspaces, 'owned-git-worktree-and-explicit-recovery');
|
||||
const plan = await host.api(parent + '/workspaces', { label: 'API隔离工作区' });
|
||||
assert.equal(plan.source.dirty, true); assert.equal(fs.existsSync(plan.root), false);
|
||||
await assert.rejects(host.api(parent + '/workspaces/' + plan.id + '/create', {}), /指纹/);
|
||||
|
||||
Reference in New Issue
Block a user