mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 03:49:56 +08:00
refactor(server): folder structure (#5573)
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user