Skip to content

Commit bfd961d

Browse files
authored
fix: flaky test (#162)
1 parent 4bdfc4c commit bfd961d

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

packages/burner-wallet-connector/src/tests/burnerWalletConnector.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ describe('Burner Wallet Connector', () => {
4141
launchNodeOptions: {
4242
args: ['--snapshot', snapshotPath],
4343
loggingEnabled: false,
44+
// use fixed port to don't conflict with other packages,
45+
port: '4000',
4446
},
4547
});
4648
BurnerWalletConnector.defaultProviderUrl = provider.url;

packages/evm-connector/src/test/evmWalletConnector.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ describe('EVM Wallet Connector', () => {
111111
launchNodeOptions: {
112112
args: ['--snapshot', snapshotPath],
113113
loggingEnabled: false,
114+
// use fixed port to don't conflict with other packages,
115+
port: '4001',
114116
},
115117
});
116118

packages/solana-connector/src/test/solanaConnector.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ describe('Solana Connector', () => {
1818
launchNodeOptions: {
1919
args: ['--snapshot', snapshotPath],
2020
loggingEnabled: false,
21+
// use fixed port to don't conflict with other packages,
22+
port: '4002',
2123
},
2224
});
2325
});

packages/walletconnect-connector/src/test/walletConnector.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ describe('WalletConnect Connector', () => {
3636
launchNodeOptions: {
3737
args: ['--snapshot', snapshotPath],
3838
loggingEnabled: false,
39+
// use fixed port to don't conflict with other packages,
40+
port: '4003',
3941
},
4042
});
4143

0 commit comments

Comments
 (0)