Skip to content

Commit

Permalink
Update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hwray committed Nov 22, 2024
1 parent e6bfa8e commit 2b61c19
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('update-perpetual-handler', () => {
it('updates an existing perpetual market', async () => {
const transactionIndex: number = 0;
const kafkaMessage: KafkaMessage = createKafkaMessageFromUpdatePerpetualEvent({
updatePerpetualEventBytes: updatePerpetualEventBytes,
updatePerpetualEventBytes,
transactionIndex,
height: defaultHeight,
time: defaultTime,
Expand All @@ -116,9 +116,9 @@ describe('update-perpetual-handler', () => {
await onMessage(kafkaMessage);

const perpetualMarket:
PerpetualMarketFromDatabase | undefined = await PerpetualMarketTable.findById(
event.id.toString(),
);
PerpetualMarketFromDatabase | undefined = await PerpetualMarketTable.findById(
event.id.toString(),
);

expect(perpetualMarket).toEqual(expect.objectContaining({
id: event.id.toString(),
Expand All @@ -127,7 +127,7 @@ describe('update-perpetual-handler', () => {
atomicResolution: event.atomicResolution,
liquidityTierId: event.liquidityTier,
// Add V2-specific field expectations when testing V2 events
...("marketType" in event && {
...('marketType' in event && {
marketType: event.marketType,
}),
}));
Expand Down

0 comments on commit 2b61c19

Please sign in to comment.