Initial commit, 90% there

This commit is contained in:
mdares
2025-12-02 16:27:21 +00:00
commit 755028af7e
7353 changed files with 1759505 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SerialPortMock = void 0;
const stream_1 = require("@serialport/stream");
const binding_mock_1 = require("@serialport/binding-mock");
class SerialPortMock extends stream_1.SerialPortStream {
static list = binding_mock_1.MockBinding.list;
static binding = binding_mock_1.MockBinding;
constructor(options, openCallback) {
const opts = {
binding: binding_mock_1.MockBinding,
...options,
};
super(opts, openCallback);
}
}
exports.SerialPortMock = SerialPortMock;