refactor(server): folder structure (#5573)

This commit is contained in:
liuyi
2024-01-12 04:18:39 +00:00
parent d6f65ea414
commit 89b5c96d25
113 changed files with 453 additions and 482 deletions
@@ -4,7 +4,6 @@ import ava, { type TestFn } from 'ava';
import request from 'supertest';
import { AppModule } from '../src/app';
import { PrismaService } from '../src/prisma';
import {
acceptInviteById,
createTestingApp,
@@ -29,7 +28,7 @@ test.beforeEach(async t => {
imports: [AppModule],
});
t.context.client = app.get(PrismaService);
t.context.client = app.get(PrismaClient);
t.context.app = app;
});