From ef4d330059049510c68c1da77dbcab08de949eef Mon Sep 17 00:00:00 2001 From: Philipp Arndt <2f.mail@gmx.de> Date: Sun, 31 Jul 2022 11:52:33 +0200 Subject: [PATCH] Jest open handles (#90) * add some notes about the prerelease * detect open handles * force exit as workaround --- .github/workflows/build.yml | 2 +- README.md | 9 +++++++++ app/package.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 44118e6..6f551d8 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: MIELE_CLIENT_SECRET: ${{ secrets.MIELE_CLIENT_SECRET }} MIELE_PASSWORD: ${{ secrets.MIELE_PASSWORD }} MIELE_USERNAME: ${{ secrets.MIELE_USERNAME }} - + - name: Build working-directory: app run: | diff --git a/README.md b/README.md index da3f1de..45cd036 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,15 @@ Convert the miele@home data to MQTT messages This application will post two MQTT messages for each connected device: one short message and a full message. +# Releases + +## Production (2.x) +The current production version is 2.x and is implemented in Java. +See https://github.com/mqtt-home/miele-to-mqtt-gw/tree/2.x-java + +## Prerelease (3.x) +The prerelease is version 3.x and implemented in TypeScript. + ## Example short message The short message is already parsed/interpreted and contains only the most relevant information. diff --git a/app/package.json b/app/package.json index cb1cfed..b582ac1 100644 --- a/app/package.json +++ b/app/package.json @@ -4,7 +4,7 @@ "description": "Miele To MQTT Gateway", "main": "index.js", "scripts": { - "test": "jest --coverage", + "test": "jest --coverage --forceExit", "coverage": "jest --coverage", "prestart": "tsc -p tsconfig.json", "start": "node --trace-warnings dist/lib/index.js",