Skip to content

Commit

Permalink
fix(api-service): align enterprise reference (#7773)
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarco authored Feb 25, 2025
1 parent e75bcb3 commit 139d7dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .source
9 changes: 2 additions & 7 deletions apps/api/e2e/setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { testServer, TestingQueueService, JobsService } from '@novu/testing';
import { JobsService, TestingQueueService, testServer } from '@novu/testing';
import sinon from 'sinon';
import chai from 'chai';
import mongoose from 'mongoose';
Expand Down Expand Up @@ -67,12 +67,7 @@ afterEach(async function () {
sinon.restore();

try {
await Promise.race([
cleanup(),
timeoutPromise(TIMEOUT).then(() => {
console.warn('Cleanup operation timed out after 5000ms - continuing with tests');
}),
]);
await Promise.race([cleanup(), timeoutPromise(TIMEOUT).then(() => {})]);
} catch (error) {
console.error('Error during cleanup:', error);
}
Expand Down

0 comments on commit 139d7dc

Please sign in to comment.