fix: cluster test
This commit is contained in:
parent
0f3045fb68
commit
ae5a10dffd
|
@ -10,9 +10,13 @@ describe('Cluster Util', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('devnet', () => {
|
it('devnet', () => {
|
||||||
expect(clusterApiUrl()).to.eq('https://devnet.solana.com');
|
expect(clusterApiUrl()).to.eq('https://api.devnet.solana.com');
|
||||||
expect(clusterApiUrl('devnet')).to.eq('https://devnet.solana.com');
|
expect(clusterApiUrl('devnet')).to.eq('https://api.devnet.solana.com');
|
||||||
expect(clusterApiUrl('devnet', true)).to.eq('https://devnet.solana.com');
|
expect(clusterApiUrl('devnet', true)).to.eq(
|
||||||
expect(clusterApiUrl('devnet', false)).to.eq('http://devnet.solana.com');
|
'https://api.devnet.solana.com',
|
||||||
|
);
|
||||||
|
expect(clusterApiUrl('devnet', false)).to.eq(
|
||||||
|
'http://api.devnet.solana.com',
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue