diff --git a/packages/binding-mbus/test/mbus-client-test.ts b/packages/binding-mbus/test/mbus-client-test.ts index 7657b23e3..114a464ed 100644 --- a/packages/binding-mbus/test/mbus-client-test.ts +++ b/packages/binding-mbus/test/mbus-client-test.ts @@ -45,7 +45,11 @@ describe("mbus client test", () => { /* nothing */ }); - it("should override form values with URL", () => { + it("should override form values with URL", function () { + if (process.platform === "win32") { + this.skip(); + } + const form: MBusForm = { href: "mbus+tcp://127.0.0.1:805/2?offset=2&timeout=5", "mbus:offset": 0, @@ -69,7 +73,11 @@ describe("mbus client test", () => { }); describe("read resource", () => { - it("should throw exception for missing offset", () => { + it("should throw exception for missing offset", function () { + if (process.platform === "win32") { + this.skip(); + } + const form: MBusForm = { href: "mbus+tcp://127.0.0.1:805", "mbus:unitID": 1, diff --git a/packages/binding-mbus/test/mbus-connection-test.ts b/packages/binding-mbus/test/mbus-connection-test.ts index 74b9564e6..87103df84 100644 --- a/packages/binding-mbus/test/mbus-connection-test.ts +++ b/packages/binding-mbus/test/mbus-connection-test.ts @@ -31,7 +31,11 @@ describe("mbus connection test", () => { /* nothing */ }); - it("should throw for timeout", () => { + it("should throw for timeout", function () { + if (process.platform === "win32") { + this.skip(); + } + const connection = new MBusConnection("127.0.0.1", 806, { connectionTimeout: 200, connectionRetryTime: 10, @@ -41,7 +45,11 @@ describe("mbus connection test", () => { }).timeout(10000); describe("Operation", () => { - it("should throw with timeout", async () => { + it("should throw with timeout", async function () { + if (process.platform === "win32") { + this.skip(); + } + const form: MBusForm = { href: "mbus+tcp://127.0.0.1:806", "mbus:offset": 0,