@jest/globals a peer dependency of every uppy package? I’d expect it to be a dependency of the monorepo itself only.
As my app that’s using
@uppy/tus uses jest v28, there is a peer dependency incompatibility.
Oh that’s definitely a bug that slipped through during code review!
@jest/globals is only useful when developing Uppy itself, it shouldn’t be listed as a peer dependency. I’ve opened @uppy/tus: fix dependencies by aduh95 · Pull Request #3923 · transloadit/uppy · GitHub to address this, thanks for the report.