Beta Release #287
beta-release.yml
on: workflow_dispatch
Matrix: build_and_test / build
Discord Webhooks
/
github-releases-to-discord
pre-release
/
Create New Github Beta Pre Release
Annotations
30 errors
|
Unhandled error:
src/switchbot-openapi.ts#L254
Error: listen EADDRINUSE: address already in use :::3000
❯ Server.setupListenHandle [as _listen2] node:net:1908:16
❯ listenInCluster node:net:1965:12
❯ Server.listen node:net:2067:7
❯ SwitchBotOpenAPI.setupWebhook src/switchbot-openapi.ts:254:10
❯ src/switchbot-openapi.test.ts:118:26
❯ node_modules/@vitest/runner/dist/index.js:174:14
❯ node_modules/@vitest/runner/dist/index.js:561:28
❯ node_modules/@vitest/runner/dist/index.js:61:24
❯ runWithTimeout node_modules/@vitest/runner/dist/index.js:41:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 3000 }
This error originated in "src/switchbot-openapi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "src/switchbot-openapi.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
src/advertising.test.ts > advertising > parse > should return parsed data for a recognized device model:
src/advertising.test.ts#L52
AssertionError: expected { id: 'test-id', …(3) } to deeply equal { id: 'test-id', …(3) }
- Expected
+ Received
{
"address": "00:11:22:33:44:55",
"id": "test-id",
"rssi": -60,
"serviceData": {
"key": "value",
"model": "�",
+ "modelFriendlyName": "",
+ "modelName": "",
},
}
❯ src/advertising.test.ts:52:22
|
|
src/advertising.test.ts > advertising > parse > should log and return null if parsed serviceData is empty:
src/advertising.test.ts#L78
AssertionError: expected "spy" to be called with arguments: [ Array(1) ]
Received:
Number of calls: 0
❯ src/advertising.test.ts:78:23
|
|
src/advertising.test.ts > advertising > validateBuffer > should return false for invalid buffer:
src/advertising.test.ts#L92
AssertionError: expected null to be false // Object.is equality
- Expected:
false
+ Received:
null
❯ src/advertising.test.ts:92:22
|
|
src/device.test.ts:
src/device/woblindtilt.ts#L17
TypeError: Class extends value undefined is not a constructor or null
❯ src/device/woblindtilt.ts:17:34
❯ src/advertising.ts:9:1
|
|
src/parameter-checker.test.ts > parameterChecker > check > should return false and set error if object is not valid:
src/parameter-checker.test.ts#L39
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/parameter-checker.test.ts:39:22
|
|
src/parameter-checker.test.ts > parameterChecker > check > should validate object based on rules:
src/parameter-checker.test.ts#L55
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/parameter-checker.test.ts:55:60
|
|
src/switchbot-openapi.test.ts > switchBotOpenAPI > getDevices > should retrieve the list of devices:
src/switchbot-openapi.test.ts#L37
AssertionError: expected { response: { devices: [] }, …(1) } to deeply equal { body: { devices: [] }, …(1) }
- Expected
+ Received
{
- "body": {
+ "response": {
"devices": [],
},
"statusCode": 200,
}
❯ src/switchbot-openapi.test.ts:37:22
|
|
src/switchbot-openapi.test.ts > switchBotOpenAPI > controlDevice > should control a device by sending a command:
src/switchbot-openapi.test.ts#L61
AssertionError: expected { response: {}, statusCode: 200 } to deeply equal { body: {}, statusCode: 200 }
- Expected
+ Received
{
- "body": {},
+ "response": {},
"statusCode": 200,
}
❯ src/switchbot-openapi.test.ts:61:22
|
|
src/switchbot-openapi.test.ts > switchBotOpenAPI > getDeviceStatus > should retrieve the status of a specific device:
src/switchbot-openapi.test.ts#L85
AssertionError: expected { response: {}, statusCode: 200 } to deeply equal { body: {}, statusCode: 200 }
- Expected
+ Received
{
- "body": {},
+ "response": {},
"statusCode": 200,
}
❯ src/switchbot-openapi.test.ts:85:22
|
|
Unhandled error:
src/switchbot-openapi.ts#L254
Error: listen EADDRINUSE: address already in use :::3000
❯ Server.setupListenHandle [as _listen2] node:net:1817:16
❯ listenInCluster node:net:1865:12
❯ Server.listen node:net:1953:7
❯ SwitchBotOpenAPI.setupWebhook src/switchbot-openapi.ts:254:10
❯ src/switchbot-openapi.test.ts:118:26
❯ node_modules/@vitest/runner/dist/index.js:174:14
❯ node_modules/@vitest/runner/dist/index.js:561:28
❯ node_modules/@vitest/runner/dist/index.js:61:24
❯ runWithTimeout node_modules/@vitest/runner/dist/index.js:41:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 3000 }
This error originated in "src/switchbot-openapi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "src/switchbot-openapi.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
src/advertising.test.ts > advertising > parse > should return parsed data for a recognized device model:
src/advertising.test.ts#L52
AssertionError: expected { id: 'test-id', …(3) } to deeply equal { id: 'test-id', …(3) }
- Expected
+ Received
{
"address": "00:11:22:33:44:55",
"id": "test-id",
"rssi": -60,
"serviceData": {
"key": "value",
"model": "�",
+ "modelFriendlyName": "",
+ "modelName": "",
},
}
❯ src/advertising.test.ts:52:22
|
|
src/advertising.test.ts > advertising > parse > should log and return null if parsed serviceData is empty:
src/advertising.test.ts#L78
AssertionError: expected "spy" to be called with arguments: [ Array(1) ]
Received:
Number of calls: 0
❯ src/advertising.test.ts:78:23
|
|
src/advertising.test.ts > advertising > validateBuffer > should return false for invalid buffer:
src/advertising.test.ts#L92
AssertionError: expected null to be false // Object.is equality
- Expected:
false
+ Received:
null
❯ src/advertising.test.ts:92:22
|
|
src/device.test.ts:
src/device/woblindtilt.ts#L17
TypeError: Class extends value undefined is not a constructor or null
❯ src/device/woblindtilt.ts:17:34
❯ src/advertising.ts:9:1
|
|
src/parameter-checker.test.ts > parameterChecker > check > should return false and set error if object is not valid:
src/parameter-checker.test.ts#L39
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/parameter-checker.test.ts:39:22
|
|
src/parameter-checker.test.ts > parameterChecker > check > should validate object based on rules:
src/parameter-checker.test.ts#L55
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/parameter-checker.test.ts:55:60
|
|
src/switchbot-openapi.test.ts > switchBotOpenAPI > getDevices > should retrieve the list of devices:
src/switchbot-openapi.test.ts#L37
AssertionError: expected { response: { devices: [] }, …(1) } to deeply equal { body: { devices: [] }, …(1) }
- Expected
+ Received
{
- "body": {
+ "response": {
"devices": [],
},
"statusCode": 200,
}
❯ src/switchbot-openapi.test.ts:37:22
|
|
src/switchbot-openapi.test.ts > switchBotOpenAPI > controlDevice > should control a device by sending a command:
src/switchbot-openapi.test.ts#L61
AssertionError: expected { response: {}, statusCode: 200 } to deeply equal { body: {}, statusCode: 200 }
- Expected
+ Received
{
- "body": {},
+ "response": {},
"statusCode": 200,
}
❯ src/switchbot-openapi.test.ts:61:22
|
|
src/switchbot-openapi.test.ts > switchBotOpenAPI > getDeviceStatus > should retrieve the status of a specific device:
src/switchbot-openapi.test.ts#L85
AssertionError: expected { response: {}, statusCode: 200 } to deeply equal { body: {}, statusCode: 200 }
- Expected
+ Received
{
- "body": {},
+ "response": {},
"statusCode": 200,
}
❯ src/switchbot-openapi.test.ts:85:22
|
|
Unhandled error:
src/switchbot-openapi.ts#L254
Error: listen EADDRINUSE: address already in use :::3000
❯ Server.setupListenHandle [as _listen2] node:net:1937:16
❯ listenInCluster node:net:1994:12
❯ Server.listen node:net:2099:7
❯ SwitchBotOpenAPI.setupWebhook src/switchbot-openapi.ts:254:10
❯ src/switchbot-openapi.test.ts:118:26
❯ node_modules/@vitest/runner/dist/index.js:174:14
❯ node_modules/@vitest/runner/dist/index.js:561:28
❯ node_modules/@vitest/runner/dist/index.js:61:24
❯ runWithTimeout node_modules/@vitest/runner/dist/index.js:41:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 3000 }
This error originated in "src/switchbot-openapi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "src/switchbot-openapi.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
src/advertising.test.ts > advertising > parse > should return parsed data for a recognized device model:
src/advertising.test.ts#L52
AssertionError: expected { id: 'test-id', …(3) } to deeply equal { id: 'test-id', …(3) }
- Expected
+ Received
{
"address": "00:11:22:33:44:55",
"id": "test-id",
"rssi": -60,
"serviceData": {
"key": "value",
"model": "�",
+ "modelFriendlyName": "",
+ "modelName": "",
},
}
❯ src/advertising.test.ts:52:22
|
|
src/advertising.test.ts > advertising > parse > should log and return null if parsed serviceData is empty:
src/advertising.test.ts#L78
AssertionError: expected "spy" to be called with arguments: [ Array(1) ]
Received:
Number of calls: 0
❯ src/advertising.test.ts:78:23
|
|
src/advertising.test.ts > advertising > validateBuffer > should return false for invalid buffer:
src/advertising.test.ts#L92
AssertionError: expected null to be false // Object.is equality
- Expected:
false
+ Received:
null
❯ src/advertising.test.ts:92:22
|
|
src/device.test.ts:
src/device/woblindtilt.ts#L17
TypeError: Class extends value undefined is not a constructor or null
❯ src/device/woblindtilt.ts:17:34
❯ src/advertising.ts:9:1
|
|
src/parameter-checker.test.ts > parameterChecker > check > should return false and set error if object is not valid:
src/parameter-checker.test.ts#L39
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/parameter-checker.test.ts:39:22
|
|
src/parameter-checker.test.ts > parameterChecker > check > should validate object based on rules:
src/parameter-checker.test.ts#L55
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/parameter-checker.test.ts:55:60
|
|
src/switchbot-openapi.test.ts > switchBotOpenAPI > getDevices > should retrieve the list of devices:
src/switchbot-openapi.test.ts#L37
AssertionError: expected { response: { devices: [] }, …(1) } to deeply equal { body: { devices: [] }, …(1) }
- Expected
+ Received
{
- "body": {
+ "response": {
"devices": [],
},
"statusCode": 200,
}
❯ src/switchbot-openapi.test.ts:37:22
|
|
src/switchbot-openapi.test.ts > switchBotOpenAPI > controlDevice > should control a device by sending a command:
src/switchbot-openapi.test.ts#L61
AssertionError: expected { response: {}, statusCode: 200 } to deeply equal { body: {}, statusCode: 200 }
- Expected
+ Received
{
- "body": {},
+ "response": {},
"statusCode": 200,
}
❯ src/switchbot-openapi.test.ts:61:22
|
|
src/switchbot-openapi.test.ts > switchBotOpenAPI > getDeviceStatus > should retrieve the status of a specific device:
src/switchbot-openapi.test.ts#L85
AssertionError: expected { response: {}, statusCode: 200 } to deeply equal { body: {}, statusCode: 200 }
- Expected
+ Received
{
- "body": {},
+ "response": {},
"statusCode": 200,
}
❯ src/switchbot-openapi.test.ts:85:22
|