You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're seeing a lot of errors logged from MutationListener which is causing a lot of noise in our unit test logs.
[my-project]: console.error
[my-project]: TypeError: Cannot read properties of null (reading 'length')
[my-project]: at /builds/my-project/node_modules/happy-dom/src/mutation-observer/MutationListener.ts:55:16
[my-project]: at /builds/my-project/node_modules/happy-dom/src/window/BrowserWindow.ts:1021:49
[my-project]: at Function.captureError (/builds/my-project/node_modules/happy-dom/src/window/WindowErrorUtility.ts:29:13)
[my-project]: at Timeout._onTimeout (/builds/my-project/node_modules/happy-dom/src/window/BrowserWindow.ts:1021:24)
[my-project]: at listOnTimeout (node:internal/timers:569:17)
[my-project]: at processTimers (node:internal/timers:512:7)
[my-project]:
[my-project]: at Function.dispatchError (node_modules/happy-dom/src/window/WindowErrorUtility.ts:57:45)
[my-project]: at Function.captureError (node_modules/happy-dom/src/window/WindowErrorUtility.ts:31:9)
[my-project]: at Timeout._onTimeout (node_modules/happy-dom/src/window/BrowserWindow.ts:1021:24)
The text was updated successfully, but these errors were encountered:
We're using
@swc/jest
with@happy-dom/[email protected]
/[email protected]
, (upgrading to X.10.2 doesn't seem to help).We're seeing a lot of errors logged from MutationListener which is causing a lot of noise in our unit test logs.
The text was updated successfully, but these errors were encountered: