Skip to content

Commit 44cd648

Browse files
fix: Fix build
1 parent 9c01224 commit 44cd648

File tree

5 files changed

+5
-40
lines changed

5 files changed

+5
-40
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ async function bootstrap() {
88
await app.listen(3000);
99
}
1010

11-
bootstrap();
11+
void bootstrap();

src/todo_lists/todo_list.entity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ export class TodoList {
77

88
@Column()
99
name: string;
10-
}
10+
}

src/todo_lists/todo_lists.controller.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('TodoListsController', () => {
4646
{ id: 1, name: 'Shopping List' },
4747
{ id: 2, name: 'Work Tasks' },
4848
];
49-
49+
5050
todoListRepositoryMock.find.mockResolvedValue(mockTodoLists);
5151

5252
const result = await todoListsController.index();
@@ -68,7 +68,7 @@ describe('TodoListsController', () => {
6868
it('should create a new todo list', async () => {
6969
const createDto = { name: 'New List' };
7070
const mockCreatedTodoList = { id: 1, name: 'New List' };
71-
71+
7272
todoListRepositoryMock.create.mockReturnValue(mockCreatedTodoList);
7373
todoListRepositoryMock.save.mockResolvedValue(mockCreatedTodoList);
7474

@@ -83,7 +83,7 @@ describe('TodoListsController', () => {
8383
const updateDto = { name: 'Updated List' };
8484
const existingTodoList = { id: 1, name: 'Old Name' };
8585
const updatedTodoList = { id: 1, name: 'Updated List' };
86-
86+
8787
todoListRepositoryMock.findOneBy.mockResolvedValue(existingTodoList);
8888
todoListRepositoryMock.save.mockResolvedValue(updatedTodoList);
8989

test/jest-e2e.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/todo_lists.e2e-spec.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)