Skip to content

Refactor tests#57

Merged
mitchspano merged 9 commits intomainfrom
refactor_tests
Jan 5, 2026
Merged

Refactor tests#57
mitchspano merged 9 commits intomainfrom
refactor_tests

Conversation

@mitchspano
Copy link
Collaborator

No description provided.

- Consolidate mock flow generation logic into a dedicated function for better readability and maintainability.
- Move setup logic out of test step
- Remove redundant flow node generation logic from tests.
- Update UML representation in tests to reflect changes in mock flow structure.
- Simplify test setup by directly using the generateMockFlow function.
- Remove redundant flow node generation logic from tests.
- Replace inline mock flow generation logic with a dedicated utility function call.
- Reformat with `deno fmt`
- Upgrade dependencies in deno.json and deno.lock.
- Refactor FlowFileChangeDetector tests  by extracting setup logic into dedicated functions.
- Ensure consistent mock setup across test cases.
- Remove use of `as any`
- Introduce `mock_config.ts` to centralize test configuration setup.
- Replace inline EOL definitions with imports from `constants.ts`.
- Clean up formatting .
- Change regular imports to type imports for better clarity
@mitchspano mitchspano merged commit 9b45658 into main Jan 5, 2026
3 checks passed
@mitchspano mitchspano deleted the refactor_tests branch January 5, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant