Closed maranomynet closed 1 year ago
yarn patch ospec
is currently saving my a**. 😅
Any comments @pygy ?
That sounds good, could you push a dummy commit to re-launch CI? The logs have expired, and I can't find how to relaunch these jobs (neither can I relaunch old Mithril jobs, so it could be an expiration thing here too).
Pushed a trivial fix to the README, for luck.
Merging, I'll publish a new version this evening and investigate where pnpm
fails.
Many thanks for raising the issue and providing a patch.
@maranomynet @v4.1.7 is out
Thank you.
Description
Fixes this problem:
Motivation and Context
Tests that import code from 3rd party libraries can cause ospec to unexpectedly hang, even though your own code and tests are perfectly fine.
How Has This Been Tested?
By pasting the above code into a file called
hangtest.mjs
and runningospec hangtest.mjs
.Without the fix the process doesn't exit.
With the fix it exits like normal.
Types of changes
Checklist:
BTW: I Can't get the package tests to pass locally (MacOS 12.5) — not even on the untouched
main
branch: