Skip to content

Commit

Permalink
Merge pull request #274 from blockfrost/test/fix-get-server-info
Browse files Browse the repository at this point in the history
test: improve GET_SERVER_INFO e2e test to resist to server version upgrades
  • Loading branch information
slowbackspace authored Nov 25, 2024
2 parents 64cc2a8 + ccf478e commit 6eac431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/fixtures/mainnet/get-server-info.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default [
name: 'Cardano',
shortcut: 'ada',
testnet: false,
version: '2.2.1',
version: expect.any(String),
decimals: 6,
blockHeight: expect.any(Number),
blockHash: expect.stringMatching(/^[a-f0-9]{64}$/),
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/preprod/get-server-info.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default [
name: 'Cardano',
shortcut: 'tada',
testnet: true,
version: '2.3.1',
version: expect.any(String),
decimals: 6,
blockHeight: expect.any(Number),
blockHash: expect.stringMatching(/^[a-f0-9]{64}$/),
Expand Down

0 comments on commit 6eac431

Please sign in to comment.