Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Feb 12, 2024
1 parent ce42619 commit ae3cfd8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
2 changes: 1 addition & 1 deletion lib/handlers/quote/injector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
BETA_COMPLIANCE_S3_KEY,
BETA_S3_KEY,
COMPLIANCE_CONFIG_BUCKET,
PROD_COMPLIANCE_S3_KEY,
PRODUCTION_S3_KEY,
PROD_COMPLIANCE_S3_KEY,
WEBHOOK_CONFIG_BUCKET,
} from '../../constants';
import { AWSMetricsLogger, UniswapXParamServiceMetricDimension } from '../../entities/aws-metrics-logger';
Expand Down
2 changes: 1 addition & 1 deletion lib/providers/analytics/firehose.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { FirehoseClient, PutRecordCommand } from '@aws-sdk/client-firehose';
import { default as Logger } from 'bunyan';

import { AnalyticsEvent } from '../../entities/analytics-events';
import { IAnalyticsLogger } from '.';
import { AnalyticsEvent } from '../../entities/analytics-events';

export class FirehoseLogger implements IAnalyticsLogger {
private log: Logger;
Expand Down
21 changes: 0 additions & 21 deletions test/handlers/quote/handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,16 +302,10 @@ describe('Quote handler', () => {
hash: '0xuni',
},
]);
<<<<<<< HEAD
const circuitBreakerProvider = new MockCircuitBreakerConfigurationProvider(
['0xuni', 'google'],
FILLER_TIMESTAMPS
);
=======
const circuitBreakerProvider = new MockCircuitBreakerConfigurationProvider([
{ hash: '0xuni', fadeRate: 0.02, enabled: true },
]);
>>>>>>> main
const quoters = [
new WebhookQuoter(
logger,
Expand Down Expand Up @@ -365,16 +359,10 @@ describe('Quote handler', () => {
const webhookProvider = new MockWebhookConfigurationProvider([
{ name: 'uniswap', endpoint: 'https://uniswap.org', headers: {}, hash: '0xuni' },
]);
<<<<<<< HEAD
const circuitBreakerProvider = new MockCircuitBreakerConfigurationProvider(
['0xuni', 'google'],
FILLER_TIMESTAMPS
);
=======
const circuitBreakerProvider = new MockCircuitBreakerConfigurationProvider([
{ hash: '0xuni', fadeRate: 0.02, enabled: true },
]);
>>>>>>> main
const quoters = [
new WebhookQuoter(
logger,
Expand Down Expand Up @@ -406,16 +394,10 @@ describe('Quote handler', () => {
const webhookProvider = new MockWebhookConfigurationProvider([
{ name: 'uniswap', endpoint: 'https://uniswap.org', headers: {}, hash: '0xuni' },
]);
<<<<<<< HEAD
const circuitBreakerProvider = new MockCircuitBreakerConfigurationProvider(
['0xuni', 'google'],
FILLER_TIMESTAMPS
);
=======
const circuitBreakerProvider = new MockCircuitBreakerConfigurationProvider([
{ hash: '0xuni', fadeRate: 0.02, enabled: true },
]);
>>>>>>> main
const quoters = [
new WebhookQuoter(
logger,
Expand Down Expand Up @@ -621,7 +603,6 @@ describe('Quote handler', () => {
})
);
});
<<<<<<< HEAD

it('only calls eligible fillers', async () => {
const webhookProvider = new MockWebhookConfigurationProvider([
Expand Down Expand Up @@ -659,7 +640,5 @@ describe('Quote handler', () => {
expect.anything()
);
});
=======
>>>>>>> main
});
});

0 comments on commit ae3cfd8

Please sign in to comment.