refactor: e2e client (#7324)

This commit is contained in:
Jason Rasmussen
2024-02-21 17:34:11 -05:00
committed by GitHub
parent 5c0c98473d
commit 2ebb57cbd4
13 changed files with 19 additions and 146 deletions

View File

@@ -10,11 +10,4 @@ export const sharedLinkApi = {
expect(status).toBe(201);
return body as SharedLinkResponseDto;
},
getMySharedLink: async (server: any, key: string) => {
const { status, body } = await request(server).get('/shared-link/me').query({ key });
expect(status).toBe(200);
return body as SharedLinkResponseDto;
},
};