Skip to content

Commit 9df35df

Browse files
fix(bms): Update test cases for WIDE_ITEM_LIST type
- Re-enabled the previously skipped test suite for WIDE_ITEM_LIST type messages. - Updated image path retrieval to use the new `getTestImagePath1to1` function for consistency in test image uploads. These changes ensure that the test suite is comprehensive and utilizes the latest utility functions for image handling.
1 parent 4274811 commit 9df35df

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

test/services/messages/bms-free.e2e.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import {
3030
createMainWideItem,
3131
createSubWideItem,
3232
getTestImagePath,
33+
getTestImagePath1to1,
3334
getTestImagePath2to1,
3435
uploadBmsImage,
3536
uploadBmsImageForType,
@@ -346,7 +347,7 @@ describe('BMS Free Message E2E', () => {
346347
);
347348
});
348349

349-
describe.skip('WIDE_ITEM_LIST 타입', () => {
350+
describe('WIDE_ITEM_LIST 타입', () => {
350351
it.effect('최소 구조 (header, mainWideItem, subWideItemList 1개)', () =>
351352
Effect.gen(function* () {
352353
const messageService = yield* MessageServiceTag;
@@ -378,7 +379,7 @@ describe('BMS Free Message E2E', () => {
378379
const subImageId = yield* Effect.tryPromise(() =>
379380
uploadBmsImageForType.wideSubItem(
380381
storageService,
381-
getTestImagePath2to1(__dirname),
382+
getTestImagePath1to1(__dirname),
382383
),
383384
);
384385

@@ -439,7 +440,7 @@ describe('BMS Free Message E2E', () => {
439440
const subImageId = yield* Effect.tryPromise(() =>
440441
uploadBmsImageForType.wideSubItem(
441442
storageService,
442-
getTestImagePath2to1(__dirname),
443+
getTestImagePath1to1(__dirname),
443444
),
444445
);
445446

0 commit comments

Comments
 (0)