Просмотр исходного кода

test(workflow): follow locale settings prerequisites

pku-xht 1 месяц назад
Родитель
Сommit
fff7dfac8e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      packages/client/ui-workflow-run/tests/workflow-run.spec.tsx

+ 1 - 0
packages/client/ui-workflow-run/tests/workflow-run.spec.tsx

@@ -478,6 +478,7 @@ describe('plugin lifecycle', () => {
   it('registers and removes the Definition and keyed renderer with its fiber', async () => {
     const ctx = new Context()
     await ctx.plugin(SlotsService).await()
+    ctx.provide('connection', { api: { settings: {} }, isLoopback: false } as never)
     await ctx.plugin(ConversationEventRegistry).await()
     await ctx.plugin(TestSessions).await()
     ctx.slots.register({