ci: stop known-failing suites from marking commits red #108
test.yml
on: push
Test: Browsers
1m 23s
Test: Types
15s
Test: Deno
24s
Test: Bun
17s
Matrix: testKnownFailing
Matrix: testNode
Annotations
18 errors
|
test/client.test.ts > [NON-SPEC] message event contains extended properties (failed connection):
test/client.test.ts#L726
AssertionError: expected { type: 'error', …(5) } to match object { type: 'error', …(5) }
- Expected
+ Received
- {
- "cancelable": false,
+ ErrorEvent {
"code": undefined,
- "defaultPrevented": false,
- "message": StringMatching /fetch failed|failed to fetch|load failed|attempting to fetch|connection refused|unable to connect/i,
- "timeStamp": Any<Number>,
- "type": "error",
+ "message": "Network connection lost.",
}
❯ test/client.test.ts:726:27
|
|
test/client.test.ts > on-handlers fire in registration order relative to `addEventListener`:
test/client.test.ts#L264
AssertionError: first handler to fire: expected 'onopen' to be 'addEventListener' // Object.is equality
Expected: "addEventListener"
Received: "onopen"
❯ test/client.test.ts:264:45
|
|
test/client.test.ts > can redeclare `es.onmessage` after initial assignment:
test/client.test.ts#L243
AssertionError: expected 12 to be 6 // Object.is equality
- Expected
+ Received
- 6
+ 12
❯ test/client.test.ts:243:31
|
|
test/client.test.ts > can redeclare `es.onerror` after initial assignment:
test/client.test.ts#L223
AssertionError: expected 4 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 4
❯ test/client.test.ts:223:29
|
|
test/client.test.ts > can redeclare `es.onopen` after initial assignment:
test/client.test.ts#L205
AssertionError: expected 6 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 6
❯ test/client.test.ts:205:31
|
|
test/client.test.ts > can use `es.onmessage` to listen for implicit `message` events, nulling it unsubscribes:
test/client.test.ts#L171
AssertionError: expected 12 to be 6 // Object.is equality
- Expected
+ Received
- 6
+ 12
❯ test/client.test.ts:171:31
|
|
test/client.test.ts > can use `es.onmessage` to listen for explicit `message` events, nulling it unsubscribes:
test/client.test.ts#L153
AssertionError: expected 12 to be 6 // Object.is equality
- Expected
+ Received
- 6
+ 12
❯ test/client.test.ts:153:31
|
|
test/client.test.ts > can use `es.onerror` to listen for error events, nulling it unsubscribes:
test/client.test.ts#L135
AssertionError: expected 4 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 4
❯ test/client.test.ts:135:29
|
|
test/client.test.ts > `es.onmessage` does not fire for non-`message` events:
test/helpers/callCounter.ts#L83
Error: Timeout waiting for onOpen call count of 3
❯ test/helpers/callCounter.ts:83:39
❯ Object.waitForCallCount test/helpers/callCounter.ts:82:9
❯ test/client.test.ts:182:16
|
|
test/client.test.ts > can use `es.onmessage` to listen for implicit `message` events, nulling it unsubscribes:
test/client.test.ts#L171
AssertionError: expected +0 to be 6 // Object.is equality
- Expected
+ Received
- 6
+ 0
❯ test/client.test.ts:171:31
|
|
test/client.test.ts > can use `es.onmessage` to listen for explicit `message` events, nulling it unsubscribes:
test/client.test.ts#L153
AssertionError: expected +0 to be 6 // Object.is equality
- Expected
+ Received
- 6
+ 0
❯ test/client.test.ts:153:31
|
|
test/client.test.ts > can use `es.onerror` to listen for error events, nulling it unsubscribes:
test/helpers/callCounter.ts#L83
Error: Timeout waiting for onOpen call count of 3
❯ test/helpers/callCounter.ts:83:39
❯ Object.waitForCallCount test/helpers/callCounter.ts:82:9
❯ test/client.test.ts:129:16
|
|
test/client.test.ts > can use `es.onopen` to listen for open events, nulling it unsubscribes:
test/helpers/callCounter.ts#L83
Error: Timeout waiting for onOpen call count of 2
❯ test/helpers/callCounter.ts:83:39
❯ Object.waitForCallCount test/helpers/callCounter.ts:82:9
❯ test/client.test.ts:112:16
|
|
test/client.test.ts > can handle unicode data correctly:
test/helpers/callCounter.ts#L83
Error: Timeout waiting for onMessage call count of 2
❯ test/helpers/callCounter.ts:83:39
❯ Object.waitForCallCount test/helpers/callCounter.ts:82:9
❯ test/client.test.ts:98:19
|
|
test/client.test.ts > passes `no-store` to `fetch`, avoiding cache:
test/helpers/callCounter.ts#L83
Error: Timeout waiting for onMessage call count of 1
❯ test/helpers/callCounter.ts:83:39
❯ Object.waitForCallCount test/helpers/callCounter.ts:82:9
❯ test/client.test.ts:82:19
|
|
test/client.test.ts > can connect using URL string only:
test/helpers/callCounter.ts#L83
Error: Timeout waiting for onMessage call count of 1
❯ test/helpers/callCounter.ts:83:39
❯ Object.waitForCallCount test/helpers/callCounter.ts:82:9
❯ test/client.test.ts:66:19
|
|
test/client.test.ts > `target` on open, message and error events is the EventSource instance:
test/helpers/callCounter.ts#L83
Error: Timeout waiting for onOpen call count of 1
❯ test/helpers/callCounter.ts:83:39
❯ Object.waitForCallCount test/helpers/callCounter.ts:82:9
❯ test/client.test.ts:50:16
|
|
test/client.test.ts > can connect, receive message, manually disconnect:
test/helpers/callCounter.ts#L83
Error: Timeout waiting for onMessage call count of 1
❯ test/helpers/callCounter.ts:83:39
❯ Object.waitForCallCount test/helpers/callCounter.ts:82:9
❯ test/client.test.ts:29:19
|