Skip to content

Commit

Permalink
fix: 개수 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyun-git committed Oct 4, 2024
1 parent cd381db commit 92d0809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/meme/get-recommend-meme-list.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ describe("[GET] '/api/meme/recommend-memes' ", () => {
});

it('should return list of recommend-memes - default size: 5', async () => {
const mockDatas = createMockData(totalCount, 10, keywordIds);
const mockDatas = createMockData(totalCount, 20, keywordIds);
await MemeModel.insertMany(mockDatas);

const response = await request(app)
.get('/api/meme/recommend-memes')
.set('x-device-id', 'deviceId');
expect(response.statusCode).toBe(200);
expect(response.body.data.length).toBe(10);
expect(response.body.data.length).toBe(20);
});

it('should return list of recommend-memes - customize size', async () => {
Expand Down

0 comments on commit 92d0809

Please sign in to comment.