From 76672cc2da5143d288263c3d762c069dad18b6db Mon Sep 17 00:00:00 2001 From: Anders Rasmussen Date: Tue, 3 Oct 2023 15:10:10 +0200 Subject: [PATCH] #9 - Fixed tests --- src/modules/item/folder/__test__/add.test.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/modules/item/folder/__test__/add.test.ts b/src/modules/item/folder/__test__/add.test.ts index 3841e1b..ddeb9be 100644 --- a/src/modules/item/folder/__test__/add.test.ts +++ b/src/modules/item/folder/__test__/add.test.ts @@ -1,31 +1,22 @@ import { User } from '@prisma/client'; import UserService from '../../../auth/user.service'; import AuthService from '../../../auth/auth.service'; -import FolderService from '../folder.service'; describe('POST /api/folder', () => { let userService: UserService; let authService: AuthService; - let folderService: FolderService; let user: User; - let otherUser: User; beforeAll(async () => { authService = new AuthService(); userService = new UserService(); - folderService = new FolderService(); user = await userService.createUser({ name: 'Joe Biden the 1st', email: 'joe@biden.com', password: '1234', }); - otherUser = await userService.createUser({ - name: 'Joe Biden the 2nd', - email: 'joe2@biden.com', - password: '4321', - }); }); it('should return status 200 and folder', async () => {