open handle leaks in `createSSRApp`
Version
3.2.20
Reproduction link
Steps to reproduce
npm run test
What is expected?
jest exits without warning
What is actually happening?
Caused by https://github.com/vuejs/vue-next/commit/f4639e0a36abe16828b202d7297e1486653b1217
Not limited to SSR apps.
We should find a way to skip this setTimeout
, (or potentially the whole devtools setup call?*) when we are:
a) in running tests b) in jest c) in jsdom (detection)
*: we likely want to keep the devtools setup as we might want to use devtools for in-browser-tests - we should rather skip the setTimeout
only.