Subscribe on changes!

open handle leaks in `createSSRApp`

avatar
Oct 18th 2021

Version

3.2.20

Reproduction link

github.com

Steps to reproduce

npm run test

What is expected?

jest exits without warning

What is actually happening?

image

avatar
Oct 19th 2021

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.