mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: adapt workflow for ppt & minimap (#7464)
This commit is contained in:
@@ -792,7 +792,9 @@ test('should be able to run workflow', async t => {
|
||||
}
|
||||
t.assert(result, 'generate text to text stream');
|
||||
|
||||
const callCount = graph!.graph.length;
|
||||
// presentation workflow has condition node, it will always false
|
||||
// so the latest 2 nodes will not be executed
|
||||
const callCount = graph!.graph.length - 2;
|
||||
t.is(
|
||||
executor.callCount,
|
||||
callCount,
|
||||
@@ -808,7 +810,7 @@ test('should be able to run workflow', async t => {
|
||||
|
||||
t.is(
|
||||
params.args[1].content,
|
||||
'apple company',
|
||||
'generate text to text stream',
|
||||
'graph params should correct'
|
||||
);
|
||||
t.is(
|
||||
|
||||
Reference in New Issue
Block a user