feat(bottle): register Chenxing Xiaotansuoh and Yaoshi
This commit is contained in:
parent
716311e168
commit
dba435b9dc
35 changed files with 200 additions and 43 deletions
|
|
@ -22,14 +22,14 @@ const setup = () => {
|
|||
return {temporary, hub, calls};
|
||||
};
|
||||
|
||||
test('one shared engine installs seven isolated persona state roots without a default persona', () => {
|
||||
test('one shared engine installs ten isolated persona state roots without a default persona', () => {
|
||||
const ctx = setup();
|
||||
try {
|
||||
assert.deepEqual(ctx.hub.ids(), ['ICE-P-ZY001','ICE-P-SH0908','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005']);
|
||||
assert.deepEqual(ctx.hub.ids(), ['ICE-P-ZY001','ICE-P-SH0908','ICE-BB-0001','ICE-BB-0002','ICE-BB-0003','ICE-BB-0004','ICE-BB-0005','ICE-BB-0006','ICE-BB-0007','ICE-BB-0008']);
|
||||
assert.equal(ctx.hub.status().default_persona, null);
|
||||
assert.equal(ctx.hub.status().shared_engine_is_shared_persona_brain, false);
|
||||
const roots = ctx.hub.ids().map(id => ctx.hub.get(id).root);
|
||||
assert.equal(new Set(roots).size, 7);
|
||||
assert.equal(new Set(roots).size, 10);
|
||||
} finally { fs.rmSync(ctx.temporary, {recursive:true, force:true}); }
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue