Skip to content

Commit

Permalink
fix: lint and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Apoorva64 committed Sep 24, 2024
1 parent d7fa833 commit 5186d1e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/frontend-bff/src/app/app.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { render } from '@testing-library/react';

import 'reflect-metadata';
import { BrowserRouter } from 'react-router-dom';

import App from './app';
Expand Down
5 changes: 4 additions & 1 deletion libs/services/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@spos/services/common",
"version": "0.0.1",
"dependencies": {
"tslib": "^2.3.0"
"tslib": "^2.3.0",
"uuid": "^10.0.0",
"typedi": "^0.10.0",
"@spos/clients/dining": "^0.0.1"
},
"type": "commonjs",
"main": "./src/index.js",
Expand Down
1 change: 0 additions & 1 deletion libs/services/common/src/lib/group/groupService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export class GroupService{
} = {};
private tableOrdersApi = new TableOrdersApi();

constructor() {}

async addGroup({ tables, offer }: GroupCreateDto) {
const id = uuidv4();
Expand Down
1 change: 0 additions & 1 deletion libs/services/common/src/lib/table/table.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export class TableService {
private tablesApi = new TablesApi();
private tableOrdersApi = new TableOrdersApi();

constructor() {}

async getFreeTables() {
const tables = (await this.tablesApi.tablesControllerListAllTables()).data;
Expand Down

0 comments on commit 5186d1e

Please sign in to comment.