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

tests(smoke): add _excludes and _runner #13707

Merged
merged 3 commits into from
Mar 1, 2022
Merged

Conversation

connorjclark
Copy link
Collaborator

Split off from #13705

@connorjclark connorjclark requested a review from a team as a code owner February 25, 2022 22:50
@connorjclark connorjclark requested review from adamraine and removed request for a team February 25, 2022 22:50

// Because we may be deleting keys, we should iterate the keys backwards
// otherwise arrays with multiple pruning checks will skip elements.
for (const [key, value] of Object.entries(obj).reverse()) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

drive by bug fix

/**
* @param {string} key
*/
const remove = (key) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

drive by simplification

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.

None yet

3 participants