Skip to content

Improve testability and add package tests#3

Open
idolize wants to merge 1 commit into
KthKuang:mainfrom
idolize:main
Open

Improve testability and add package tests#3
idolize wants to merge 1 commit into
KthKuang:mainfrom
idolize:main

Conversation

@idolize
Copy link
Copy Markdown

@idolize idolize commented May 19, 2026

This PR abstracts the direct access from NSUbiquitousKeyValueStore into a dependency that can be overwritten (and defaults to an in-memory version in tests).

I basically followed the exact patterns from the official point-free Sharing AppStorageKey.

Additionally, I've added some tests to the package itself to verify everything works as expected.

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