- Notifications
You must be signed in to change notification settings - Fork 97
Description
In order to overcome the most pressing issues: #216, #213, #207, #218, #236, #237, #238, #176, #156.
I make the following proposal in order to further stabilize tmp and to get a new release out of the door as soon as possible.
-
SIGINT handler (BREAKING CHANGE)
the SIGINT handler will be removed
The user is responsible for installing a SIGINT handler that will exit the process so that the exit handler gets called. -
EXIT handler
The exit handler can be simplified to just a call to the internal garbage collector function. -
handler installation
The safe handler installation had been a work around for older jest versions. With jest now using child processes and experimental worker threads, this should no longer be an issue and we can remove that code altogether. See also Temporary files not beeing removed after tests are completed (Jest, Windows) #229 -
CHANGELOG
introduce a changelog which we will maintain manually for now
@raszi please have a look and tell me if that would suit you. Exposing the garbage collector as a callable has its own issues, see the comments in #216.