test(server): avoid progress get hold after tests finished (#5522)

This commit is contained in:
liuyi
2024-01-11 06:40:53 +00:00
parent 5aee480c50
commit 9253e522aa
36 changed files with 262 additions and 194 deletions
@@ -357,6 +357,10 @@ export interface AFFiNEConfig {
};
};
metrics: {
enabled: boolean;
};
payment: {
stripe: {
keys: {
@@ -211,6 +211,9 @@ export const getDefaultAFFiNEConfig: () => AFFiNEConfig = () => {
apiVersion: '2023-10-16',
},
},
metrics: {
enabled: false,
},
} satisfies AFFiNEConfig;
applyEnvToConfig(defaultConfig);
@@ -5,8 +5,6 @@ import { merge } from 'lodash-es';
import type { DeepPartial } from '../utils/types';
import type { AFFiNEConfig } from './def';
import '../prelude';
type ConstructorOf<T> = {
new (): T;
};