-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solution] Adds unit tests for simple diff algorithm #184483
[Security Solution] Adds unit tests for simple diff algorithm #184483
Conversation
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
...ection_engine/prebuilt_rules/logic/diff/calculation/algorithms/simple_diff_algorithm.test.ts
Outdated
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @dplumlee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Thank you, @dplumlee!
Just checked the PR -- looks very good, thank you @dplumlee! |
Summary
Adds unit tests in accordance to #180158
Abstracts the
simpleDiffAlgorithm
function used in the prebuilt rule upgrade workflow intosingleLineStringDiffAlgorithm
andnumberDiffAlgorithm
and adds unit tests for both casesAddresses the following test cases defined in the related RFC section table
Checklist
Delete any items that are not applicable to this PR.
For maintainers