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

publish matcher can accept a matcher as a topic #14

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

rgalanakis
Copy link
Member

Previously, expect { }.to publish('eventname') could only handle a literal topic like 'eventname'.

Now, it can be a matcher like start_with('prefix'), or a regex, like /^prefix/.

Previously, `expect { }.to publish('eventname')` could only
handle a literal topic like `'eventname'`.

Now, it can be a matcher like `start_with('prefix')`,
or a regex, like `/^prefix/`.
@rgalanakis rgalanakis force-pushed the publish-matcher-name branch from f35a802 to 309ee20 Compare April 12, 2024 04:57
@rgalanakis rgalanakis force-pushed the publish-matcher-name branch from 309ee20 to d319b9c Compare April 12, 2024 04:58
@rgalanakis rgalanakis merged commit 535cbc3 into main Apr 12, 2024
4 checks passed
@rgalanakis rgalanakis deleted the publish-matcher-name branch April 12, 2024 04:59
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