- Load tests asynchronously, and gradually (pull from extension)
- Listen to test changes, new children, and removal of children (push from extension)
- Be able to place tests in the tree concurrently with a test run as results are reported (push from extension)
- Be able to stop listening to tests from a child
- Allow the extension to identity its tests in whatever "run test" mechanism there is
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this to your Home Assistant config | |
mqtt: | |
broker: localhost | |
discovery: true | |
birth_message: | |
topic: 'hass/status' | |
payload: 'online' | |
will_message: | |
topic: 'hass/status' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface ISerializer<T> { | |
toBinary(value: T): Uint8Array; | |
fromBinary(value: Uint8Array): T; | |
} | |
// example serializer for uuids | |
import * as uuid from "uuid"; | |
export const uuidSerializer: ISerializer<string> = { | |
toBinary: (id) => uuid.parse(id) as Uint8Array, | |
fromBinary: (id) => uuid.stringify(id), |
OlderNewer