Skip to content

fix: configure dom-testing-library to flush Svelte changes #615

fix: configure dom-testing-library to flush Svelte changes

fix: configure dom-testing-library to flush Svelte changes #615

Triggered via pull request May 16, 2025 19:22
Status Failure
Total duration 1m 48s
Artifacts 1

release.yml

on: pull_request
Matrix: main
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

33 errors
Svelte 4, Node 16, test:vitest:happy-dom
Process completed with exit code 1.
Svelte 4, Node 20, test:jest
Process completed with exit code 1.
Svelte 4, Node 16, test:vitest:jsdom
Process completed with exit code 1.
Svelte 4, Node 16, test:jest
Process completed with exit code 1.
Svelte 4, Node 20, test:vitest:happy-dom
Process completed with exit code 1.
tests/events.test.js > events > calling `fireEvent` directly works too: tests/events.test.js#L31
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:31:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ Module.fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ src/pure.js:198:48 ❯ act src/pure.js:174:20 ❯ Module.fireEvent src/pure.js:198:38 ❯ tests/events.test.js:23:20
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:15:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ fireEvent.<computed> node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2773:36 ❯ src/pure.js:201:49 ❯ act src/pure.js:174:20 ❯ AsyncFunction.fireEvent.<computed> [as click] src/pure.js:201:39 ❯ tests/events.test.js:13:30
Svelte 3, Node 16, test:vitest:happy-dom
Process completed with exit code 1.
Svelte 4, Node 22, test:vitest:happy-dom
Process completed with exit code 1.
tests/events.test.js > events > calling `fireEvent` directly works too: tests/events.test.js#L31
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:31:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ Module.fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ src/pure.js:198:48 ❯ act src/pure.js:174:20 ❯ Module.fireEvent src/pure.js:198:38 ❯ tests/events.test.js:23:20
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:15:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ fireEvent.<computed> node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2773:36 ❯ src/pure.js:201:49 ❯ act src/pure.js:174:20 ❯ AsyncFunction.fireEvent.<computed> [as click] src/pure.js:201:39 ❯ tests/events.test.js:13:30
Svelte 3, Node 16, test:jest
Process completed with exit code 1.
Svelte 3, Node 18, test:jest
Process completed with exit code 1.
Svelte 4, Node 22, test:vitest:jsdom
Process completed with exit code 1.
tests/events.test.js > events > calling `fireEvent` directly works too: tests/events.test.js#L31
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:31:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ Module.fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ src/pure.js:198:48 ❯ act src/pure.js:174:20 ❯ Module.fireEvent src/pure.js:198:38 ❯ tests/events.test.js:23:20
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:15:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ fireEvent.<computed> node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2773:36 ❯ src/pure.js:201:49 ❯ act src/pure.js:174:20 ❯ AsyncFunction.fireEvent.<computed> [as click] src/pure.js:201:39 ❯ tests/events.test.js:13:30
Svelte 3, Node 20, test:jest
Process completed with exit code 1.
Svelte 3, Node 16, test:vitest:jsdom
Process completed with exit code 1.
Svelte 4, Node 20, test:vitest:jsdom
Process completed with exit code 1.
tests/events.test.js > events > calling `fireEvent` directly works too: tests/events.test.js#L31
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:31:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ Module.fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ src/pure.js:198:48 ❯ act src/pure.js:174:20 ❯ Module.fireEvent src/pure.js:198:38 ❯ tests/events.test.js:23:20
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:15:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ fireEvent.<computed> node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2773:36 ❯ src/pure.js:201:49 ❯ act src/pure.js:174:20 ❯ AsyncFunction.fireEvent.<computed> [as click] src/pure.js:201:39 ❯ tests/events.test.js:13:30
Svelte 3, Node 18, test:vitest:jsdom
Process completed with exit code 1.
Svelte 4, Node 18, test:jest
Process completed with exit code 1.
Svelte 4, Node 18, test:vitest:happy-dom
Process completed with exit code 1.
tests/events.test.js > events > calling `fireEvent` directly works too: tests/events.test.js#L31
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:31:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ Module.fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ src/pure.js:198:48 ❯ act src/pure.js:174:20 ❯ Module.fireEvent src/pure.js:198:38 ❯ tests/events.test.js:23:20
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:15:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ fireEvent.<computed> node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2773:36 ❯ src/pure.js:201:49 ❯ act src/pure.js:174:20 ❯ AsyncFunction.fireEvent.<computed> [as click] src/pure.js:201:39 ❯ tests/events.test.js:13:30
Svelte 4, Node 18, test:vitest:jsdom
Process completed with exit code 1.
tests/events.test.js > events > calling `fireEvent` directly works too: tests/events.test.js#L31
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:31:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ Module.fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ src/pure.js:198:48 ❯ act src/pure.js:174:20 ❯ Module.fireEvent src/pure.js:198:38 ❯ tests/events.test.js:23:20
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: promise rejected "TypeError: getConfig(...).eventWrapper is…" instead of resolving ❯ tests/events.test.js:15:25 Caused by: Caused by: TypeError: getConfig(...).eventWrapper is not a function ❯ fireEvent node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2674:22 ❯ fireEvent.<computed> node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:2773:36 ❯ src/pure.js:201:49 ❯ act src/pure.js:174:20 ❯ AsyncFunction.fireEvent.<computed> [as click] src/pure.js:201:39 ❯ tests/events.test.js:13:30
Svelte 4, Node 22, test:jest
Process completed with exit code 1.
Svelte 3, Node 20, test:vitest:jsdom
Process completed with exit code 1.
Svelte 3, Node 20, test:vitest:happy-dom
Process completed with exit code 1.
Svelte 3, Node 18, test:vitest:happy-dom
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
types Expired
6.7 KB
sha256:ee1860cd11185b9d0561bf30fa8f93840b55649d15f74cd793da9873fc0b446e