mirror of https://github.com/langgenius/dify.git
test: restore mocks in rag pipeline tests
This commit is contained in:
parent
7b8c57d95b
commit
a17f6f62bf
|
|
@ -352,6 +352,10 @@ beforeEach(() => {
|
|||
vi.spyOn(console, 'error').mockImplementation(() => {})
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
vi.restoreAllMocks()
|
||||
})
|
||||
|
||||
// Helper to find the name input in PublishAsKnowledgePipelineModal
|
||||
function getNameInput() {
|
||||
return screen.getByPlaceholderText('pipeline.common.publishAsPipeline.namePlaceholder')
|
||||
|
|
|
|||
Loading…
Reference in New Issue