Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add subscribtion to mode in ModeWatcher #34

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

ollema
Copy link
Collaborator

@ollema ollema commented Nov 15, 2023

this fixes #33 but I am not 100% sure this is the best way. let me know if there is a cleaner solution!

I also added a test the fails before this patch and now works. this tests uses a new test component, <StealthMode>, which does not subscribe to mode automatically and thus is a better representation for how mode-watcher might be used in the wild

Copy link

changeset-bot bot commented Nov 15, 2023

🦋 Changeset detected

Latest commit: 692a33a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
mode-watcher Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@huntabyte huntabyte merged commit 8c71d5a into svecosystem:main Nov 15, 2023
3 checks passed
@ollema ollema deleted the maybe-fix-bug branch February 22, 2024 11:42
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.

bug: mode-watcher only works when $mode is subscribed to
2 participants