Skip to content

Commit

Permalink
fix(api): removed retry
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarco committed Jan 17, 2025
1 parent af26011 commit fdc316d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/api/src/app/shared/framework/idempotency.e2e.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { UserSession } from '@novu/testing';
import { CacheService, HttpResponseHeaderKeysEnum } from '@novu/application-generic';
import { expect } from 'chai';
import { Novu } from '@novu/api';
import { expectSdkExceptionGeneric, initNovuClassSdk } from '../helpers/e2e/sdk/e2e-sdk.helper';
import { expectSdkExceptionGeneric } from '../helpers/e2e/sdk/e2e-sdk.helper';
import {
IdempotenceTestingResponse,
IdempotencyBehaviorEnum,
Expand Down Expand Up @@ -30,7 +29,6 @@ describe('Idempotency Test', async () => {
let session: UserSession;
const path = '/v1/health-check/test-idempotency';
let cacheService: CacheService | null = null;
let novu: Novu;

async function testIdempotencyPost(
idempotencyTestingDto: IdempotencyTestingDto,
Expand Down Expand Up @@ -60,8 +58,6 @@ describe('Idempotency Test', async () => {
session = new UserSession();
await session.initialize();
cacheService = session.testServer?.getService(CacheService);
novu = initNovuClassSdk(session, true);
// @ts-ignore
process.env.IS_API_IDEMPOTENCY_ENABLED = 'true';
});

Expand Down

0 comments on commit fdc316d

Please sign in to comment.