mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor(server): e2e (#6632)
This commit is contained in:
parent
4424f3cb13
commit
852effa998
43 changed files with 154 additions and 485 deletions
|
|
@ -1,10 +0,0 @@
|
|||
import { ServerConfigDto } from '@app/domain';
|
||||
import request from 'supertest';
|
||||
|
||||
export const serverInfoApi = {
|
||||
getConfig: async (server: any) => {
|
||||
const res = await request(server).get('/server-info/config');
|
||||
expect(res.status).toBe(200);
|
||||
return res.body as ServerConfigDto;
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue