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

fix broken once.remove #7

Merged
merged 2 commits into from
Oct 1, 2023
Merged

fix broken once.remove #7

merged 2 commits into from
Oct 1, 2023

Conversation

mixmix
Copy link
Member

@mixmix mixmix commented Sep 28, 2023

Found a gap in the tests + code around removing of once functions.

  • ☑️ wrote test
  • ☑️ made it pass
  • ☑️ split out the once tests into their own file
  • ☑️ added tap-arc for reporting (doesn't work in node 12/14)

@mixmix mixmix requested a review from staltz September 28, 2023 21:59
@socket-security
Copy link

socket-security bot commented Sep 28, 2023

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
tape 4.13.3...5.7.0 network, environment +64/-24 3.02 MB ljharb

t.end()
})

tape('once, remove', function (t) {
Copy link
Member Author

Choose a reason for hiding this comment

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

this is the new test.
I moved all the once related tests to own file as they're a specific subset of features

@staltz
Copy link
Member

staltz commented Sep 29, 2023

Well spotted, thanks

@mixmix mixmix merged commit 21a3b9f into master Oct 1, 2023
5 checks passed
@mixmix mixmix deleted the once.remove branch October 1, 2023 23:56
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.

2 participants