Skip to content

Commit 52a8280

Browse files
committed
refactor: remove integration test
1 parent eb04c9a commit 52a8280

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

packages/hooks/src/tests/Combination/useGetSwapQuote.test.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,4 @@ describe('useGetSwapQuoteV2', () => {
4444

4545
await waitFor(() => expect(result.current.isError).toBe(true))
4646
})
47-
48-
it('should return correct data from dev api', async () => {
49-
const response = await fetch('https://dev-api.sequence.app/rpc/API/GetSwapQuoteV2', {
50-
method: 'POST',
51-
headers: {
52-
'Content-Type': 'application/json',
53-
'X-Access-Key': 'AQAAAAAAAAK2JvvZhWqZ51riasWBftkrVXE'
54-
},
55-
body: JSON.stringify({
56-
userAddress: ACCOUNT_ADDRESS,
57-
buyCurrencyAddress: ZERO_ADDRESS,
58-
sellCurrencyAddress: ZERO_ADDRESS,
59-
buyAmount: '20000',
60-
chainId: 1,
61-
includeApprove: true
62-
})
63-
})
64-
65-
const data = await response.json()
66-
console.log('Real API Response Structure:', JSON.stringify(data, null, 2))
67-
})
6847
})

0 commit comments

Comments
 (0)