diff --git a/src/tests/unit/api/api.test.ts b/src/tests/unit/api/api.test.ts index 638e8271..bda829aa 100644 --- a/src/tests/unit/api/api.test.ts +++ b/src/tests/unit/api/api.test.ts @@ -67,7 +67,7 @@ describe("IBApi Tests", () => { const refId = 43; let received = false; - ib.on(EventName.pnl, (reqId: number, pnl: number) => { + ib.on(EventName.pnl, (reqId: number, _pnl: number) => { expect(reqId).toEqual(refId); // expect(pnl).toBeTruthy(); if (!received) {