Skip to content

Commit 4e54b3d

Browse files
committed
test: reset litNetworkAvailable flag in Lit Protocol integration tests for consistent re-runs
1 parent 6913f50 commit 4e54b3d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)