From 6db8a180941aec1b276678dd3f44ed5109fcf30b Mon Sep 17 00:00:00 2001 From: jacek-prisma Date: Thu, 26 Feb 2026 11:27:51 +0000 Subject: [PATCH] test: add missing restoreAllMocks (#29256) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a missing `restoreAllMocks` to fix [🧪 / Others [v20.19.0]](https://github.com/prisma/prisma/actions/runs/22404623961/job/64860796095?pr=29255#logs) ## Summary by CodeRabbit * **Tests** * Improved test cleanup procedures to ensure proper restoration of mocked functions. --- packages/debug/src/__tests__/debug.extended.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/debug/src/__tests__/debug.extended.test.ts b/packages/debug/src/__tests__/debug.extended.test.ts index af7d63102032..47ca62b53906 100644 --- a/packages/debug/src/__tests__/debug.extended.test.ts +++ b/packages/debug/src/__tests__/debug.extended.test.ts @@ -20,6 +20,7 @@ beforeEach(() => { afterEach(() => { vi.resetModules() + vi.restoreAllMocks() }) test('with a namespace', async () => {