feat(persona): normalize Shuangyan as ICE-P-SH0908
This commit is contained in:
parent
8e04d70dd2
commit
7f8f336d6d
29 changed files with 503 additions and 42 deletions
|
|
@ -22,14 +22,14 @@ const setup = () => {
|
|||
return {temporary, hub, calls};
|
||||
};
|
||||
|
||||
test('one shared engine installs six isolated persona state roots without a default persona', () => {
|
||||
test('one shared engine installs seven isolated persona state roots without a default persona', () => {
|
||||
const ctx = setup();
|
||||
try {
|
||||
assert.deepEqual(ctx.hub.ids(), ['ICE-P-ZY001','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']);
|
||||
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, 6);
|
||||
assert.equal(new Set(roots).size, 7);
|
||||
} finally { fs.rmSync(ctx.temporary, {recursive:true, force:true}); }
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue