Skip to content

Commit

Permalink
fix: fixed e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
  • Loading branch information
quiet-node committed May 4, 2024
1 parent e3dec45 commit 4db71cb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ describe('@release @web-socket-batch-3 eth_subscribe newHeads', async function (
});

it('should subscribe to newHeads even when WS_NEW_HEADS_ENABLED=undefined, and receive a valid JSON RPC response', async (done) => {
process.env.WS_NEW_HEADS_ENABLED = originalWsNewHeadsEnabledValue;
expect(process.env.WS_NEW_HEADS_ENABLED).to.eq('undefined');

const webSocket = new WebSocket(WS_RELAY_URL);
Expand Down

0 comments on commit 4db71cb

Please sign in to comment.