diff --git a/packages/rest-api/src/tests/bridgeLimitsRoute.test.ts b/packages/rest-api/src/tests/bridgeLimitsRoute.test.ts index 6c195f8bd9..9e68a5d20e 100644 --- a/packages/rest-api/src/tests/bridgeLimitsRoute.test.ts +++ b/packages/rest-api/src/tests/bridgeLimitsRoute.test.ts @@ -47,7 +47,7 @@ describe('Get Bridge Limits Route', () => { 'message', 'No valid route exists for the chain/token combination' ) - }, 10_000) + }) it('should return 400 for unsupported fromChain', async () => { const response = await request(app).get('/bridgeLimits').query({ @@ -61,7 +61,7 @@ describe('Get Bridge Limits Route', () => { 'message', 'Unsupported fromChain' ) - }, 10_000) + }) it('should return 400 for unsupported toChain', async () => { const response = await request(app).get('/bridgeLimits').query({ @@ -72,7 +72,7 @@ describe('Get Bridge Limits Route', () => { }) expect(response.status).toBe(400) expect(response.body.error).toHaveProperty('message', 'Unsupported toChain') - }, 10_000) + }) it('should return 400 for missing fromToken', async () => { const response = await request(app).get('/bridgeLimits').query({ @@ -82,7 +82,7 @@ describe('Get Bridge Limits Route', () => { }) expect(response.status).toBe(400) expect(response.body.error).toHaveProperty('field', 'fromToken') - }, 10_000) + }) it('should return 400 for missing toToken', async () => { const response = await request(app).get('/bridgeLimits').query({ @@ -92,5 +92,5 @@ describe('Get Bridge Limits Route', () => { }) expect(response.status).toBe(400) expect(response.body.error).toHaveProperty('field', 'toToken') - }, 10_000) + }) }) diff --git a/packages/rest-api/src/tests/bridgeRoute.test.ts b/packages/rest-api/src/tests/bridgeRoute.test.ts index 35feb4197b..3617d5d71b 100644 --- a/packages/rest-api/src/tests/bridgeRoute.test.ts +++ b/packages/rest-api/src/tests/bridgeRoute.test.ts @@ -70,7 +70,7 @@ describe('Bridge Route with Real Synapse Service', () => { 'message', 'No valid route exists for the chain/token combination' ) - }, 15000) + }) it('should return 400 for unsupported fromChain, with error message', async () => { const response = await request(app).get('/bridge').query({ @@ -85,7 +85,7 @@ describe('Bridge Route with Real Synapse Service', () => { 'message', 'Unsupported fromChain' ) - }, 10000) + }) it('should return 400 for unsupported toChain, with error message', async () => { const response = await request(app).get('/bridge').query({ @@ -97,7 +97,7 @@ describe('Bridge Route with Real Synapse Service', () => { }) expect(response.status).toBe(400) expect(response.body.error).toHaveProperty('message', 'Unsupported toChain') - }, 10000) + }) it('should return 400 for invalid fromToken address, with error message', async () => { const response = await request(app).get('/bridge').query({ @@ -112,7 +112,7 @@ describe('Bridge Route with Real Synapse Service', () => { 'message', 'Invalid fromToken address' ) - }, 10000) + }) it('should return 400 for token not supported on specified chain, with error message', async () => { const response = await request(app).get('/bridge').query({ @@ -127,7 +127,7 @@ describe('Bridge Route with Real Synapse Service', () => { 'message', 'Invalid fromToken address' ) - }, 10000) + }) it('should return 400 for missing amount, with error message', async () => { const response = await request(app).get('/bridge').query({ @@ -138,5 +138,5 @@ describe('Bridge Route with Real Synapse Service', () => { }) expect(response.status).toBe(400) expect(response.body.error).toHaveProperty('field', 'amount') - }, 10000) + }) })