Skip to content

fix(test): use scan_window instead of non-existent time_pressure field#8

Merged
dmchaledev merged 1 commit into
mainfrom
fix/test-scan-window-field
May 29, 2026
Merged

fix(test): use scan_window instead of non-existent time_pressure field#8
dmchaledev merged 1 commit into
mainfrom
fix/test-scan-window-field

Conversation

@dmchaledev

Copy link
Copy Markdown
Contributor

The test was using 'time_pressure' which was never part of the implementation. The correct field is 'scan_window' (number, in hours) which is used by calculate() for timing calculations and scan window utilization.

Also added scan_window value (8) to match the default in the component.

This is a follow-up to PR #7 which fixed the TypeScript type definitions - the test should also use the correct field name to properly test the calculate() function.

The test was using 'time_pressure' which was never part of the implementation.
The correct field is 'scan_window' (number, in hours) which is used by
calculate() for timing calculations and scan window utilization.

Also added scan_window value (8) to match the default in the component.
@dmchaledev dmchaledev merged commit 82e5a30 into main May 29, 2026
3 checks passed
@dmchaledev dmchaledev deleted the fix/test-scan-window-field branch May 29, 2026 18:09
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