* draft: handle firing an event once * lint * Prevent rapid double-click on sending messages * no rest spread on single primative when sibling components exist * clear message instead of using a fireOnce handler. * fix tests * remove unnecessary validate mock
10 lines
237 B
TypeScript
10 lines
237 B
TypeScript
import protobuf from 'protobufjs';
|
|
|
|
// ensure jest-dom is always available during testing to cut down on boilerplate
|
|
import '@testing-library/jest-dom';
|
|
|
|
class MockProtobufRoot {
|
|
load() {}
|
|
}
|
|
|
|
(protobuf as any).Root = MockProtobufRoot;
|