Skip to content

Commit

Permalink
fix: Test
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Aug 13, 2024
1 parent aa04cad commit b2f8755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/devtools-solana/test/connection/factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ describe('provider/factory', () => {
})

it('should return https://api.testnet.solana.com for SOLANA_V2_TESTNET', () => {
expect(defaultRpcUrlFactory(EndpointId.SOLANA_V2_TESTNET)).toBe(`https://api.testnet.solana.com`)
expect(defaultRpcUrlFactory(EndpointId.SOLANA_V2_TESTNET)).toBe(`https://api.devnet.solana.com`)
})

it('should return https://api.testnet.solana.com for SOLANA_TESTNET', () => {
expect(defaultRpcUrlFactory(EndpointId.SOLANA_TESTNET)).toBe(`https://api.testnet.solana.com`)
expect(defaultRpcUrlFactory(EndpointId.SOLANA_TESTNET)).toBe(`https://api.devnet.solana.com`)
})

it('should throw an error for other endpoints', () => {
Expand Down

0 comments on commit b2f8755

Please sign in to comment.