Skip to content

Commit

Permalink
Update subscribeNewHeads.spec.ts
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 5, 2024
1 parent 1915e29 commit 68cfc10
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ describe('@release @web-socket-batch-3 eth_subscribe newHeads', async function (
console.log(typeof process.env.WS_NEW_HEADS_ENABLED);
console.log(process.env.WS_NEW_HEADS_ENABLED);
process.env.WS_NEW_HEADS_ENABLED = originalWsNewHeadsEnabledValue;
console.log(typeof process.env.WS_NEW_HEADS_ENABLED);
console.log(originalWsNewHeadsEnabledValue);
console.log(process.env.WS_NEW_HEADS_ENABLED);

process.env.WS_SUBSCRIPTION_LIMIT = '10';

Expand All @@ -153,6 +154,7 @@ describe('@release @web-socket-batch-3 eth_subscribe newHeads', async function (
process.env.WS_SUBSCRIPTION_LIMIT = originalWsSubcriptionLimitValue;
console.log('WS_NEW_HEADS_ENABLED afterEach');
console.log(typeof process.env.WS_NEW_HEADS_ENABLED);
console.log(originalWsNewHeadsEnabledValue);
console.log(process.env.WS_NEW_HEADS_ENABLED);
});

Expand Down Expand Up @@ -215,6 +217,7 @@ describe('@release @web-socket-batch-3 eth_subscribe newHeads', async function (
console.log(`typeof process.env.WS_NEW_HEADS_ENABLED`);
console.log(typeof process.env.WS_NEW_HEADS_ENABLED);
console.log(process.env.WS_NEW_HEADS_ENABLED);
console.log(originalWsNewHeadsEnabledValue);

expect(process.env.WS_NEW_HEADS_ENABLED as undefined).to.eq('undefined');

Expand Down

0 comments on commit 68cfc10

Please sign in to comment.