From e81f557fe24d04e0b5408c2efdfac10400982462 Mon Sep 17 00:00:00 2001 From: Sujith Date: Fri, 20 Jan 2023 15:48:21 +0530 Subject: [PATCH] fix: jest confog change for test Signed-off-by: Sujith --- packages/api-utils/lib/configs/jest.config.cjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/api-utils/lib/configs/jest.config.cjs b/packages/api-utils/lib/configs/jest.config.cjs index 62437fba1bd..be699b94c19 100644 --- a/packages/api-utils/lib/configs/jest.config.cjs +++ b/packages/api-utils/lib/configs/jest.config.cjs @@ -12,6 +12,10 @@ module.exports = { // The test environment that will be used for testing testEnvironment: "node", + // Additional settings for the test environment + logHeapUsage: true, + workerIdleMemoryLimit: '1GB', + // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation transformIgnorePatterns: [ // Any packages that are published only as ESM need to be listed here