diff --git a/apps/sim/app/api/chat/utils.test.ts b/apps/sim/app/api/chat/utils.test.ts index d4d50da3374..46125782dae 100644 --- a/apps/sim/app/api/chat/utils.test.ts +++ b/apps/sim/app/api/chat/utils.test.ts @@ -12,7 +12,7 @@ import { workflowsUtilsMock, } from '@sim/testing' import { rateLimiterMock, rateLimiterMockFns } from '@sim/testing/mocks/rate-limiter.mock' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { beforeEach, describe, expect, it, vi } from 'vitest' const { mockMergeSubblockStateWithValues, @@ -70,10 +70,6 @@ describe('Chat API Utils', () => { vi.stubEnv('NODE_ENV', 'development') }) - afterEach(() => { - vi.unstubAllEnvs() - }) - describe('Auth token utils', () => { it('should reject invalid auth cookie via validateChatAuth', async () => { mockReadDeploymentAuthToken.mockResolvedValue(null)