tschaub / mock-fs

Configurable mock for the fs module
https://npmjs.org/package/mock-fs
Other
906 stars 86 forks source link

fix: TypeError: Cannot convert to a BigInt #363

Closed ahippler closed 2 years ago

ahippler commented 2 years ago

this is a little fix for for an typeError i got with jest on node 16.7.0

3cp commented 2 years ago

Thx! LGTM.

3cp commented 2 years ago

@tschaub can you release this fix too?

tschaub commented 2 years ago

Thanks for the contribution, @ahippler. I've published this in mock-fs@5.1.4.

I'm curious why the tests for Node 16 didn't catch this. Would it be possible to add a regression test there?