Skip to content

Commit

Permalink
chore: SHE WORKS
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Oct 5, 2023
1 parent 06bf10e commit ccee14f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/core/test/request-queue/request-queue-v2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ async function makeQueue(name: string, numOfRequestsToAdd = 0) {
return queue;
}

vitest.setConfig({ restoreMocks: false });

describe('RequestQueueV2#isFinished should use listHead instead of listAndLock', () => {
let queue: RequestQueueV2;
let clientListHeadSpy: SpyInstance<[options?: ListOptions | undefined], Promise<QueueHead>>;
Expand Down
4 changes: 2 additions & 2 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export default defineConfig({
],
},
restoreMocks: true,
minThreads: 2,
maxThreads: 4,
minThreads: 3,
maxThreads: 6,
testTimeout: 60_000,
alias: [
{ find: 'crawlee', replacement: resolve(__dirname, './packages/crawlee/src') },
Expand Down

0 comments on commit ccee14f

Please sign in to comment.