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
7 unit tests fail on macOS. This seems related to problems loading PNGs in JSDOM on macOS. This problem does not occur on Windows or Linux.
Mocha output:
1359 passing (44s)
2 pending
8 failing
1) AssetReference
should call load callback when asset is loaded:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called;if returning a Promise, ensure it resolves. (/Users/willeastcott/Dev/engine/test/framework/asset/asset-reference.test.mjs)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
2) AssetRegistry
#loadFromUrl
loads texture assets:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called;if returning a Promise, ensure it resolves. (/Users/willeastcott/Dev/engine/test/framework/asset/asset-registry.test.mjs)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
3) ImageElement
"before each" hook for"Add Image Element":
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called;if returning a Promise, ensure it resolves. (/Users/willeastcott/Dev/engine/test/framework/components/element/image-element.test.mjs)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
4) TextElement
"before each" hook for"does not break onto multiple lines if the text is short enough":
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called;if returning a Promise, ensure it resolves. (/Users/willeastcott/Dev/engine/test/framework/components/element/text-element.test.mjs)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
5) ParticleSystemComponent
"before each" hook for"Add particlesystem":
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called;if returning a Promise, ensure it resolves. (/Users/willeastcott/Dev/engine/test/framework/components/particlesystem/component.test.mjs)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
6) SpriteComponent
"before each" hook for"Add new Component":
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called;if returning a Promise, ensure it resolves. (/Users/willeastcott/Dev/engine/test/framework/components/sprite/component.test.mjs)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
7) SpriteHandler
loads from filesystem:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called;if returning a Promise, ensure it resolves. (/Users/willeastcott/Dev/engine/test/framework/handlers/sprite-handler.test.mjs)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
8) SpriteHandler
loads from asset data:
Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called;if returning a Promise, ensure it resolves. (/Users/willeastcott/Dev/engine/test/framework/handlers/sprite-handler.test.mjs)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
The text was updated successfully, but these errors were encountered:
7 unit tests fail on macOS. This seems related to problems loading PNGs in JSDOM on macOS. This problem does not occur on Windows or Linux.
Mocha output:
The text was updated successfully, but these errors were encountered: