Skip to content

test: cover non-object preference payload edge cases - #23

Closed
YRWoods wants to merge 1 commit into
TuYv:masterfrom
YRWoods:feat/pref-nonobject-edge
Closed

test: cover non-object preference payload edge cases#23
YRWoods wants to merge 1 commit into
TuYv:masterfrom
YRWoods:feat/pref-nonobject-edge

Conversation

@YRWoods

@YRWoods YRWoods commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

One focused regression test for normalizeSearchPreferences when the payload is not a plain object.

Problem

Fixes #11 — uncovered preference edge case.

Approach

  • null, string, number, boolean, array → full defaults, no throw
  • No production code change

How I tested

Checklist

Fixes #11 — null/string/number/boolean/array fall back to defaults.
@YRWoods

YRWoods commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Withdrawing.

@YRWoods YRWoods closed this Jul 15, 2026
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.

test: cover an untested search preference edge case

1 participant