2023-10-28T08:21:05.5181040Z > mocha --config test/mocharc.custom.json src/**/*.test.ts
2023-10-28T08:21:05.5196230Z
2023-10-28T08:21:08.8900350Z
2023-10-28T08:21:08.8953550Z
2023-10-28T08:21:08.8981560Z converter => convert
2023-10-28T08:21:08.9005380Z ✔ should return window for ActuatorType.WindowOpener
2023-10-28T08:21:08.9030360Z
2023-10-28T08:21:08.9061170Z roleConverter => convert
2023-10-28T08:21:08.9125340Z ✔ should return window for ActuatorType.WindowOpener
2023-10-28T08:21:08.9144780Z
2023-10-28T08:21:08.9178820Z levelConverter => convert
2023-10-28T08:21:08.9218820Z ✔ should return level.blind for ActuatorType.WindowOpener
2023-10-28T08:21:08.9234940Z
2023-10-28T08:21:08.9270320Z PromiseQueue
2023-10-28T08:21:08.9305840Z push
2023-10-28T08:21:08.9338390Z ✔ should be able to push different types of return values including void.
2023-10-28T08:21:08.9376840Z ✔ should be able to run subsequent calls with a rejected promise in the middle.
2023-10-28T08:21:08.9410920Z ✔ should be rejected with a rejected promise at the end.
2023-10-28T08:21:08.9450570Z
2023-10-28T08:21:08.9477230Z PropertyLink
2023-10-28T08:21:08.9643300Z MapAnyPropertyToState with BooleanValue
2023-10-28T08:21:09.0647440Z ✔ should return a boolean value for the type of the return value
2023-10-28T08:21:09.0831260Z MapAnyPropertyToState with NumberValue
2023-10-28T08:21:09.0912120Z ✔ should return a number value for the type of the return value
2023-10-28T08:21:09.0981390Z MapAnyPropertyToState with StringValue
2023-10-28T08:21:09.0992230Z ✔ should return a string value for the type of the return value
2023-10-28T08:21:09.1107560Z MapAnyPropertyToState with ArrayValue
2023-10-28T08:21:09.1148770Z ✔ should return a string value for the type of the return value
2023-10-28T08:21:09.1193540Z SimplePropertyChangedHandler
2023-10-28T08:21:09.1205990Z ✔ should set the state 'NumberValue' to 43 with ack.
2023-10-28T08:21:09.1241330Z ComplexPropertyChangedHandler
2023-10-28T08:21:09.1266450Z ✔ should call the supplied handler function exactly once.
2023-10-28T08:21:09.1303270Z SimpleStateChangeHandler
2023-10-28T08:21:09.1322290Z - should set the property 'NumberValue' to 43 when the adapter state is set.
2023-10-28T08:21:09.1341630Z - should set the property 'NumberValue' to 43 when the adapter state is set with explicit setterMethodName.
2023-10-28T08:21:09.1342840Z ComplexStateChangeHandler
2023-10-28T08:21:09.1388360Z - should call the provided handly exaclty once.
2023-10-28T08:21:09.1419700Z
2023-10-28T08:21:09.1455680Z StateHelper
2023-10-28T08:21:09.1483140Z createAndSetStateAsync
2023-10-28T08:21:09.1502830Z ✔ should generate state products.42.level
2023-10-28T08:21:09.1512340Z ✔ state products.42.level should have value 50
2023-10-28T08:21:09.1545680Z ✔ state products.42.level should be acknowledged
2023-10-28T08:21:09.1595700Z
2023-10-28T08:21:09.1609130Z utils
2023-10-28T08:21:09.1611610Z ArrayCount
2023-10-28T08:21:09.1636180Z ✔ should count the number of non-empty elements
2023-10-28T08:21:09.1651950Z ✔ should work on an empty array
2023-10-28T08:21:09.1667090Z ✔ should work on an empty array with a defined length
2023-10-28T08:21:09.1681720Z convertErrorToString
2023-10-28T08:21:09.1716810Z ✔ should return the provided string on string input
2023-10-28T08:21:09.1746430Z ✔ should return the provided message on Error input
2023-10-28T08:21:09.1769740Z
2023-10-28T08:21:09.1783380Z
2023-10-28T08:21:09.1808060Z 20 passing (55ms)
2023-10-28T08:21:09.1821290Z 3 pending
When running the tests only Windows runs through all test cases.
Find below an example of the test run on a MacOS machine where only 20 tests are run.
logs_77.zip