mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-11 17:21:03 +08:00
- Added detailed constraints for the Coordinator role in the team UX improvement skill, emphasizing orchestration responsibilities and workflow management. - Updated test cases in DashboardToolbar, useIssues, and useWebSocket to improve reliability and clarity. - Introduced new tests for configStore and ignore patterns in Codex Lens to ensure proper functionality and configuration handling. - Enhanced smart search functionality with improved embedding selection logic and added tests for various scenarios. - Updated installation and usage documentation to reflect changes in directory structure and role specifications.
25 lines
667 B
Python
25 lines
667 B
Python
from __future__ import annotations
|
|
|
|
import json
|
|
from pathlib import Path
|
|
|
|
from codexlens.config import Config
|
|
|
|
|
|
def test_load_settings_reads_ignore_patterns_and_extension_filters(tmp_path: Path) -> None:
|
|
settings_path = tmp_path / "settings.json"
|
|
settings_path.write_text(
|
|
json.dumps(
|
|
{
|
|
"ignore_patterns": ["frontend/dist", "coverage"],
|
|
"extension_filters": ["*.min.js", "*.map"],
|
|
}
|
|
),
|
|
encoding="utf-8",
|
|
)
|
|
|
|
config = Config(data_dir=tmp_path)
|
|
|
|
assert config.ignore_patterns == ["frontend/dist", "coverage"]
|
|
assert config.extension_filters == ["*.min.js", "*.map"]
|