Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jloleysens
Copy link
Contributor

@jloleysens jloleysens commented Nov 8, 2021

Closes #341

When collecting the prototype for ReadFileContext the original fsBinding.open should still be called so that FS read operations can be handled as usual.

@3cp
Copy link
Collaborator

3cp commented Nov 8, 2021

@tschaub LGTM.

@maximelafarie
Copy link

@3cp @tschaub Man, this is just in time! Will you do a patch/minor release as soon as it's merged?

@tschaub tschaub merged commit abd285a into tschaub:main Nov 8, 2021
@tschaub
Copy link
Owner

tschaub commented Nov 8, 2021

Thanks for the fix, @jloleysens. Published in [email protected].

@jloleysens jloleysens deleted the fix/call-original-fsBinding-open branch November 9, 2021 09:11
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.

Using mock-fs with Jest results in open handles

4 participants