mirror of
https://github.com/lingble/twenty.git
synced 2025-11-24 18:05:06 +00:00
Fix all the broken CIs :p This includes an ongoing effort to simplify test maintenance by having 1 unique source of truth about metadata and data mocks (that will later be generated from a unique source of seeds: dev = demo = test) Regressions: - Unit line coverage: 60 > 55 - Storybook Pages branch coverage: 40 > 35 We will need to write tests to increase those coverage - RelationFieldDisplay perf: 0.2ms to 0.22ms > We might have a regression here - Removed perf story about RawJSON > We will need to re-add it
17 lines
401 B
TypeScript
17 lines
401 B
TypeScript
import { JestConfigWithTsJest } from 'ts-jest';
|
|
import 'tsconfig-paths/register';
|
|
|
|
import { createApp } from './create-app';
|
|
|
|
export default async (_, projectConfig: JestConfigWithTsJest) => {
|
|
const app = await createApp({});
|
|
|
|
if (!projectConfig.globals) {
|
|
throw new Error('No globals found in project config');
|
|
}
|
|
|
|
await app.listen(projectConfig.globals.APP_PORT);
|
|
|
|
global.app = app;
|
|
};
|