diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 675c540..117b945 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Run Tests with Vitest run: npm run test - - name: Run ESLint + - name: Run eSlint run: npm run lint # FOR IT TO WORK WITH GITHUB Actions and push to Docker registry do the following diff --git a/src/test/sensor.test.ts b/src/test/sensor.test.ts index 4ab24d8..96bf721 100644 --- a/src/test/sensor.test.ts +++ b/src/test/sensor.test.ts @@ -13,4 +13,8 @@ describe("isValidSensorValue()", () => { it("returns false for values above 100", () => { expect(isValidSensorValue(101)).toBe(false); }); + + it("returns false for values above 100", () => { + expect(isValidSensorValue(105)).toBe(false); + }); });