mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 15:08:06 +08:00
fix: resolve test failures after segment 2 merge
- Backend: fix deduct_llm_quota import path in llm node - Backend: update core.variables → core.workflow.variables imports - Frontend: update UpdateWorkflowNodesMapPayload in tests - Frontend: fix various test expectations to match merged code Made-with: Cursor
This commit is contained in:
@ -281,7 +281,7 @@ describe('Operation', () => {
|
||||
}
|
||||
renderOperation({ ...baseProps, item })
|
||||
await user.click(screen.getByTestId('copy-btn'))
|
||||
expect(copy).toHaveBeenCalledWith('Hello World')
|
||||
expect(copy).toHaveBeenCalledWith('[AGENT]\nTHOUGHT:\nHello \n\n[AGENT]\nTHOUGHT:\nWorld')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user