Commit b85f9a3
committed
test(snapshot): Add type annotation to mock_filter function
why: To improve type safety and help mypy with type checking in tests.
what:
- Add proper type annotation to the mock_filter function in test_snapshot_active_only
- Explicitly specify that the function accepts snapshot types
(ServerSnapshot, SessionSnapshot, WindowSnapshot, PaneSnapshot)
- Return type was already correctly annotated as bool1 parent c69ee7b commit b85f9a3
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
291 | 293 | | |
292 | 294 | | |
293 | 295 | | |
| |||
0 commit comments