Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: removed drop from teardown

=51d93f9a24dd
diff --git a/backend/e2e-test/vitest-environment-knex.ts b/backend/e2e-test/vitest-environment-knex.ts
index 4cb18b3076..f6caa0d22f 100644
--- a/backend/e2e-test/vitest-environment-knex.ts
+++ b/backend/e2e-test/vitest-environment-knex.ts
@@ -138,9 +138,6 @@ export default {
delete globalThis.jwtAuthToken;
// @ts-expect-error type
delete globalThis.testQueue;
- // called after all tests with this env have been run
- await db.raw("DROP SCHEMA IF EXISTS public CASCADE");
- await db.schema.createSchemaIfNotExists("public");
await redis.flushdb("ASYNC");
redis.disconnect();