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

Upgrade Fibers to v4 #71

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

drydevelopment
Copy link

In order to support Node v12+ fibers needs to be upgraded to v4.

laverdet/node-fibers#409

Mocha and Chai dependencies needed updated as well.

Comment on lines -410 to -420
it('should throw error when not matched defer-await pair', function(done){
sync.fiber(function(){
process.nextTick(sync.defer())
expect(function() { process.nextTick(sync.defer()) }).to.throw(Error)
sync.await()
process.nextTick(sync.defers())
expect(function() { process.nextTick(sync.defers()) }).to.throw(Error)
sync.await()
}, done)
})

Copy link
Author

Choose a reason for hiding this comment

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

This test fails similarly on Node 8.17.0 as on 12.13.1 and 13.5.0, so I felt it is worth removing.

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