Re:Show HN: I open-sourced the in-memory PostgreSQL I built ...
by justinclift on Monday April 08, 2024 @02:48AM
(#39966904)
Thanks for suggesting that. Looks like they've implemented that here:
https://github.com/stackframe-projects/pgmock/commit/f80d9fa...
It seems to have beendeployed out to the demo already as it's working now. :)
This can be worked around by just constructing an Error and taking it's stack property, captureStackTrace is just a convenience function, so hopefully they can fix that.
[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...