diff --git a/web3.js/test/cluster.test.ts b/web3.js/test/cluster.test.ts index dba174e03..4e1b81edb 100644 --- a/web3.js/test/cluster.test.ts +++ b/web3.js/test/cluster.test.ts @@ -10,9 +10,13 @@ describe('Cluster Util', () => { }); it('devnet', () => { - expect(clusterApiUrl()).to.eq('https://devnet.solana.com'); - expect(clusterApiUrl('devnet')).to.eq('https://devnet.solana.com'); - expect(clusterApiUrl('devnet', true)).to.eq('https://devnet.solana.com'); - expect(clusterApiUrl('devnet', false)).to.eq('http://devnet.solana.com'); + expect(clusterApiUrl()).to.eq('https://api.devnet.solana.com'); + expect(clusterApiUrl('devnet')).to.eq('https://api.devnet.solana.com'); + expect(clusterApiUrl('devnet', true)).to.eq( + 'https://api.devnet.solana.com', + ); + expect(clusterApiUrl('devnet', false)).to.eq( + 'http://api.devnet.solana.com', + ); }); });