From 6cdb76503bcfd29d94738109ad7da05eedcd60ca Mon Sep 17 00:00:00 2001 From: Alessio Gravili Date: Sun, 31 Mar 2024 16:05:55 -0400 Subject: [PATCH] chore: disable memory db for now, as it doesn't work locally for the versions test suite --- test/helpers/initPayloadE2E.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/helpers/initPayloadE2E.ts b/test/helpers/initPayloadE2E.ts index daa2a6af01..754a63fc23 100644 --- a/test/helpers/initPayloadE2E.ts +++ b/test/helpers/initPayloadE2E.ts @@ -22,18 +22,18 @@ type Result = { } export async function initPayloadE2E({ config, dirname }: Args): Promise { + process.env.NODE_OPTIONS = '--no-deprecation' const testSuiteName = dirname.split('/').pop() const { beforeTest } = await createTestHooks(testSuiteName) await beforeTest() - process.env.NODE_OPTIONS = '--no-deprecation' process.env.PAYLOAD_DROP_DATABASE = 'true' // @ts-expect-error process.env.NODE_ENV = 'test' - const configWithMemoryDB = await startMemoryDB(config) - const payload = await getPayloadHMR({ config: configWithMemoryDB }) + // const configWithMemoryDB = await startMemoryDB(config) + const payload = await getPayloadHMR({ config }) const port = 3000 process.env.PORT = String(port)