CN-1375 fix: 编写高级搜索器自动化测试用例

This commit is contained in:
刘洪洪
2023-12-22 17:59:44 +08:00
parent 21eafd4087
commit 2028861b26
10 changed files with 2210 additions and 38 deletions

View File

@@ -59,3 +59,5 @@ config.global.mocks.$route = { query: '' }
config.global.mocks.$_ = _
/* 消除warn */
jest.spyOn(console, 'warn').mockImplementation(() => {})
/* 模拟codemirror */
jest.mock('Codemirror')