Skip to content

Commit

Permalink
Switch tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwschau committed May 7, 2024
1 parent c8a7d5f commit 7f99cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ describe('message-forwarder', () => {
});
});

it('Batch sends subaccount messages', (done: jest.DoneCallback) => {
/*it('Batch sends subaccount messages', (done: jest.DoneCallback) => {
const channel: Channel = Channel.V4_ACCOUNTS;
const id: string = `${defaultSubaccountId.owner}/${defaultSubaccountId.number}`;
Expand Down Expand Up @@ -328,7 +328,7 @@ describe('message-forwarder', () => {
batched: true,
}));
});
});
});*/

it('Batch sends subaccount messages to parent subaccount channel', (done: jest.DoneCallback) => {
const channel: Channel = Channel.V4_PARENT_ACCOUNTS;
Expand Down
2 changes: 1 addition & 1 deletion indexer/services/socks/src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const TOPIC_TO_CHANNEL: Record<WebsocketTopics, Channel[]> = {
[WebsocketTopics.TO_WEBSOCKETS_CANDLES]: [Channel.V4_CANDLES],
[WebsocketTopics.TO_WEBSOCKETS_MARKETS]: [Channel.V4_MARKETS],
[WebsocketTopics.TO_WEBSOCKETS_ORDERBOOKS]: [Channel.V4_ORDERBOOK],
[WebsocketTopics.TO_WEBSOCKETS_SUBACCOUNTS]: [Channel.V4_ACCOUNTS, Channel.V4_PARENT_ACCOUNTS],
[WebsocketTopics.TO_WEBSOCKETS_SUBACCOUNTS]: [Channel.V4_PARENT_ACCOUNTS],
[WebsocketTopics.TO_WEBSOCKETS_TRADES]: [Channel.V4_TRADES],
};

Expand Down

0 comments on commit 7f99cd5

Please sign in to comment.