Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Set lower maximum threshold for Jest runners to avoid resourcing issues in CI

Brandon Scottd8709848023d
diff --git a/studio/jest.config.js b/studio/jest.config.js
index 03b07573f70..1fccb491f93 100644
--- a/studio/jest.config.js
+++ b/studio/jest.config.js
@@ -3,7 +3,7 @@ module.exports = {
moduleDirectories: ['<rootDir>', 'node_modules'],
setupFiles: ['jest-canvas-mock', './tests/setup/radix'],
testEnvironment: 'jsdom',
- testTimeout: 20000,
+ testTimeout: 10000,
testRegex: '(.*\\.test.(js|jsx|ts|tsx)$)',
transform: { '^.+\\.(t|j)sx?$': 'ts-jest' },
globals: {
@@ -11,4 +11,6 @@ module.exports = {
tsconfig: 'tsconfig.test.json',
},
},
+ maxConcurrency: 3,
+ maxWorkers: '50%',
}