Skip to content

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

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

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

Triggered via pull request May 16, 2025 19:26
Status Failure
Total duration 1m 37s
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:jest
Process completed with exit code 1.
Svelte 3, Node 16, test:jest
Process completed with exit code 1.
Svelte 4, Node 16, test:vitest:happy-dom
Process completed with exit code 1.
Svelte 4, Node 16, test:vitest:jsdom
Process completed with exit code 1.
Svelte 3, Node 18, 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: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:31:5
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:15:5
Svelte 3, Node 16, test:vitest:happy-dom
Process completed with exit code 1.
Svelte 4, Node 18, test:jest
Process completed with exit code 1.
Svelte 3, Node 20, test:jest
Process completed with exit code 1.
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: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:31:5
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:15:5
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: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:31:5
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:15:5
Svelte 3, Node 18, test:vitest:jsdom
Process completed with exit code 1.
Svelte 3, Node 18, test:vitest:happy-dom
Process completed with exit code 1.
Svelte 3, Node 20, test:vitest:happy-dom
Process completed with exit code 1.
Svelte 4, Node 22, test:jest
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: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:31:5
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:15:5
Svelte 4, Node 20, 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: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:31:5
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:15:5
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: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:31:5
tests/events.test.js > events > state changes are flushed after firing an event: tests/events.test.js#L15
AssertionError: expected [Function] to be true // Object.is equality - Expected: true + Received: [Function anonymous] ❯ tests/events.test.js:15:5
Svelte 3, Node 16, test:vitest:jsdom
Process completed with exit code 1.
Svelte 3, Node 20, test:vitest:jsdom
Process completed with exit code 1.

Artifacts

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