Skip to content

Commit

Permalink
fix: zod errors in spec test files
Browse files Browse the repository at this point in the history
  • Loading branch information
awais-codes committed May 8, 2024
1 parent 7d5ca27 commit 0800102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/src/services/item/addItemGlobalService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const addItemGlobalService = async (
quantity: number,
unit: string,
type: 'Food' | 'Water' | 'Essentials',
ownerId: string,
) => {
let category: InsertItemCategory | null;
if (!categories.includes(type)) {
Expand Down
1 change: 1 addition & 0 deletions server/src/tests/routes/trip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ describe('Trip Routes', () => {
type: 'FeatureCollection' as const,
features: [],
},
is_public: '1' as const,
};

const createdTrip = await caller.addTrip(input);
Expand Down

0 comments on commit 0800102

Please sign in to comment.