Skip to content

Commit

Permalink
test: updated failing-noop test to be more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
hui-an-yang committed Sep 5, 2024
1 parent dc80cfa commit 19220d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ CONFIGS().forEach(({ lib, setup, rpc }) => {
beforeAll(async () => {
setup(true);
if (rpc.includes('parisnet')) {
Tezos.setProvider({ rpc: 'https://rpc.tzkt.io/parisnet' }); // public archive node to fetch genesis block
Tezos.setRpcProvider('https://rpc.tzkt.io/parisnet'); // public archive node to fetch genesis block
} else if (rpc.includes('ghostnet')) {
Tezos.setProvider({ rpc: 'https://rpc.tzkt.io/ghostnet' }); // public archive node to fetch genesis block
Tezos.setRpcProvider('https://rpc.tzkt.io/ghostnet'); // public archive node to fetch genesis block
}
});

Expand Down
4 changes: 2 additions & 2 deletions integration-tests/__tests__/wallet/failing-noop.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ CONFIGS().forEach(({ lib, setup, rpc }) => {
beforeAll(async () => {
setup(true)
if (rpc.includes('parisnet')) {
Tezos.setProvider({ rpc: 'https://rpc.tzkt.io/parisnet' }); // public archive node to fetch genesis block
Tezos.setRpcProvider('https://rpc.tzkt.io/parisnet'); // public archive node to fetch genesis block
} else if (rpc.includes('ghostnet')) {
Tezos.setProvider({ rpc: 'https://rpc.tzkt.io/ghostnet' }); // public archive node to fetch genesis block
Tezos.setRpcProvider('https://rpc.tzkt.io/ghostnet'); // public archive node to fetch genesis block
}
});

Expand Down

0 comments on commit 19220d6

Please sign in to comment.