dify/web/utils/__tests__
CodingOnStar d66b0d2d11 refactor(tests): reorganize test files and enhance test coverage for utility functions
- Moved test files for completion parameters, clipboard, app redirection, and emoji utilities to the appropriate directory structure.
- Added comprehensive tests for clipboard functionality, including modern and legacy methods.
- Implemented tests for app redirection logic based on user permissions and app modes.
- Enhanced tests for completion parameters validation and error handling.
- Introduced tests for emoji search functionality with various scenarios.
- Updated icon utility tests to cover edge cases and security concerns.
- Improved formatting tests for numbers, file sizes, and time representation.
2026-03-26 09:42:09 +08:00
..
app-redirection.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
clipboard.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
completion-params.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
context.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
download.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
emoji.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
format.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
get-icon.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
index.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
mcp.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
model-config.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
navigation.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
permission.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
plugin-version-feature.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
semver.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
setup-status.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
storage.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
time.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
tool-call.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
urlValidation.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
validators.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00
var.spec.ts refactor(tests): reorganize test files and enhance test coverage for utility functions 2026-03-26 09:42:09 +08:00