diff --git a/src/__tests__/pupremote.test.ts b/src/__tests__/pupremote.test.ts index d94989d..1609b6e 100644 --- a/src/__tests__/pupremote.test.ts +++ b/src/__tests__/pupremote.test.ts @@ -21,7 +21,7 @@ afterAll(async (done) => { }); -test("Set LED color to BLUE via discrete value", async (done) => { +test("Set LED color via discrete value", async (done) => { remote.setLEDColor(Consts.Color.BLUE); expect(await device.readFromOutbox()).toEqual(Buffer.from([0x0a, 0x00, 0x41, 0x34, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00])); expect(await device.readFromOutbox()).toEqual(Buffer.from([0x08, 0x00, 0x81, 0x34, 0x11, 0x51, 0x00, 0x03])); @@ -37,7 +37,7 @@ test("Turn off LED", async (done) => { }); -test("Set LED color to 127, 32, 233 via RGB values", async (done) => { +test("Set LED color via RGB values", async (done) => { remote.setLEDRGB(127, 32, 233); expect(await device.readFromOutbox()).toEqual(Buffer.from([0x0a, 0x00, 0x41, 0x34, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00])); expect(await device.readFromOutbox()).toEqual(Buffer.from([0x0a, 0x00, 0x81, 0x34, 0x11, 0x51, 0x01, 0x7f, 0x20, 0xe9]));