We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33a5034 commit e49b4a1Copy full SHA for e49b4a1
1 file changed
__tests__/setup.ts
@@ -5,6 +5,9 @@ import { testSchema } from '../src/data-source';
5
import { remoteConfig } from '../src/remoteConfig';
6
import { loadAuthKeys } from '../src/auth';
7
8
+// Set global timeout for all tests and hooks (more reliable than jest.config.js testTimeout)
9
+jest.setTimeout(30000);
10
+
11
expect.extend(matchers);
12
13
global.structuredClone = (v) => JSON.parse(JSON.stringify(v));
@@ -126,4 +129,4 @@ beforeEach(async () => {
126
129
loadAuthKeys();
127
130
128
131
await cleanDatabase();
-}, 60000);
132
+}, 90000); // 90s - cleanDatabase iterates through many entities
0 commit comments