Skip to content

Commit

Permalink
fix: test mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyun-git committed Jun 23, 2024
1 parent bf0d48d commit 26cafa3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/util/meme.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const memeMockData: IMeme = {
source: 'youtube',
isTodayMeme: false,
reaction: 0,
watch: 0,
};

const createMockData = (size: number, todayMemeCount: number): IMeme[] => {
Expand Down
6 changes: 6 additions & 0 deletions test/util/user.mock.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { IUser } from '../../src/model/user';

export const mockUser: IUser = {
deviceId: 'deviceId',
lastSeenMeme: [],
};

0 comments on commit 26cafa3

Please sign in to comment.