add tests for handlers cleanly exiting #1125
Annotations
11 errors and 1 warning
|
__tests__/fixtures/cleanup.ts#L95
AssertionError: [post-test cleanup] server should not have any open streams after the test: expected Map{} to strictly equal Map{}
- Expected
+ Received
- Map {}
+ Map {
+ "JH0fKt0qe8T4" => Object {
+ "from": "client",
+ "handleMsg": [Function onMessage],
+ "handleSessionDisconnect": [Function handleSessionDisconnect],
+ "procedure": Object {
+ "handler": [Function handler],
+ "requestInit": Object {
+ "properties": Object {},
+ "type": "object",
+ Symbol(TypeBox.Kind): "Object",
+ },
+ "responseData": Object {
+ "properties": Object {},
+ "type": "object",
+ Symbol(TypeBox.Kind): "Object",
+ },
+ "responseError": Object {
+ "not": Object {},
+ Symbol(TypeBox.Kind): "Never",
+ },
+ "type": "subscription",
+ },
+ "procedureName": "subscribe",
+ "serviceName": "service",
+ "sessionMetadata": Object {},
+ "streamId": "JH0fKt0qe8T4",
+ },
+ }
β― __tests__/fixtures/cleanup.ts:95:7
|
__tests__/fixtures/cleanup.ts#L95
AssertionError: [post-test cleanup] server should not have any open streams after the test: expected Map{} to strictly equal Map{}
- Expected
+ Received
- Map {}
+ Map {
+ "eN4v9M44UhFq" => Object {
+ "from": "client",
+ "handleMsg": [Function onMessage],
+ "handleSessionDisconnect": [Function handleSessionDisconnect],
+ "procedure": Object {
+ "handler": [Function handler],
+ "requestInit": Object {
+ "properties": Object {},
+ "type": "object",
+ Symbol(TypeBox.Kind): "Object",
+ },
+ "responseData": Object {
+ "properties": Object {},
+ "type": "object",
+ Symbol(TypeBox.Kind): "Object",
+ },
+ "responseError": Object {
+ "not": Object {},
+ Symbol(TypeBox.Kind): "Never",
+ },
+ "type": "subscription",
+ },
+ "procedureName": "subscribe",
+ "serviceName": "service",
+ "sessionMetadata": Object {},
+ "streamId": "eN4v9M44UhFq",
+ },
+ }
β― __tests__/fixtures/cleanup.ts:95:7
|
util/testHelpers.ts#L123
Error: readNext from a done Readable
β― Module.readNextResult util/testHelpers.ts:123:11
β― __tests__/cleanup.test.ts:342:16
|
util/testHelpers.ts#L123
Error: readNext from a done Readable
β― Module.readNextResult util/testHelpers.ts:123:11
β― __tests__/cleanup.test.ts:342:16
|
util/testHelpers.ts#L123
Error: readNext from a done Readable
β― Module.readNextResult util/testHelpers.ts:123:11
β― __tests__/disconnects.test.ts:199:16
|
util/testHelpers.ts#L123
Error: readNext from a done Readable
β― Module.readNextResult util/testHelpers.ts:123:11
β― __tests__/disconnects.test.ts:199:16
|
util/testHelpers.ts#L123
Error: readNext from a done Readable
β― Module.readNextResult util/testHelpers.ts:123:11
β― __tests__/e2e.test.ts:394:16
|
util/testHelpers.ts#L123
Error: readNext from a done Readable
β― Module.readNextResult util/testHelpers.ts:123:11
β― __tests__/e2e.test.ts:448:23
|
util/testHelpers.ts#L123
Error: readNext from a done Readable
β― Module.readNextResult util/testHelpers.ts:123:11
β― __tests__/e2e.test.ts:394:16
|
util/testHelpers.ts#L123
Error: readNext from a done Readable
β― Module.readNextResult util/testHelpers.ts:123:11
β― __tests__/e2e.test.ts:448:23
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading