Skip to content

Commit ea4d569

Browse files
committed
test: reset litNetworkAvailable flag in Lit Protocol integration tests for consistent re-runs
1 parent 5185f3f commit ea4d569

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/integration-test/test/lit-protocol.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ describe('Lit Protocol Integration Tests', () => {
5353
};
5454

5555
beforeAll(async () => {
56+
// Reset the flag so that re-runs in the same process re-check availability
57+
litNetworkAvailable = true;
58+
5659
// Create wallet
5760
userWallet = new ethers.Wallet(
5861
'0x7b595b2bb732edddc4d4fe758ae528c7a748c40f0f6220f4494e214f15c5bfeb',

0 commit comments

Comments
 (0)