yarn @happy-dom/jest-environment 14.1.2
v14.1.2

latest releases: 14.11.0, 14.10.3, 14.10.2...
7 months ago

👷‍♂️ Patch fixes

  • Fixes problem with properties defined as getters and setters not being registered globally by Vitest - By @capricorn86 in task #1339
    • The problem occurred as Vitest is using Object.getOwnPropertyDescriptors(window) to read which properties to register globally, but getters and setters are defined on the prototype
    • To solve the problem, GlobalWindow now defines the properties on the instance when it is constructed

Don't miss a new jest-environment release

NewReleases is sending notifications on new releases.