WS eigene Datei

This commit is contained in:
chk
2026-04-23 17:27:52 +02:00
parent 3787d5b92e
commit 8ed6b67574
11 changed files with 559 additions and 122 deletions

View File

@@ -27,7 +27,7 @@ describe("WS-SenderGRBL.execCommand", () => {
});
test("writes correct G-code to mocked tSocket Ellbow", () => {
test("writes correct G-code to mocked tSocket Ellbow", () => {
// Create instance (will try real connection, but we override tSocket immediately)
const sender = new Sender(urlGRBL = "test.test", maxSpeedF = 2300, xAxisGrbl = "a", yAxisGrbl = null, zAxisGrbl = null );
@@ -50,7 +50,7 @@ describe("WS-SenderGRBL.execCommand", () => {
expect(sender.tSocket.written).toBe("G1 x22.50 f2300.00\r\n");
});
test("writes correct G-code G92 to mocked WS tSocket", () => {
test("writes correct G-code G92 to mocked WS tSocket", () => {
// Create instance (will try real connection, but we override tSocket immediately)
const sender = new Sender(urlGRBL = "test.test", maxSpeedF = 2300, xAxisGrbl = "x", yAxisGrbl = "y", zAxisGrbl = "z");