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

Support RegExp for matchId #206

Merged
merged 3 commits into from
Mar 5, 2025
Merged

Conversation

simonihmig
Copy link
Contributor

The matchMessage config already supports passing a Regex, this is adding the same capability for matchId.

@@ -87,6 +87,7 @@ module('handleDeprecationWorkflow', function (hooks) {

test('deprecation silenced with string matcher', function (assert) {
const config = {
throwOnUnhandled: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are unrelated to the actual PR, but I think these prevent false positives. The "silenced" test cases in particular don't assert anything specific (assert.ok(true) in L100), only make sure that nothing throws. But without the throwOnUnhandled flag that wouldn't happen anyways, with or without the explicit workflow rule.

@mansona mansona merged commit a5487ec into ember-cli:main Mar 5, 2025
14 checks passed
@github-actions github-actions bot mentioned this pull request Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants