Skip to content

Hotfix ci (test)

Hotfix ci (test) #253

Triggered via pull request January 23, 2025 12:19
@Violet-Bora-LeeViolet-Bora-Lee
synchronize #54
Status Failure
Total duration 21s
Artifacts

ci.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
src/advanced/__tests__/advanced.test.tsx > advanced > > 시나리오 테스트 > > 장바구니 페이지 테스트 > : src/refactoring/components/CartPage.tsx#L26
TypeError: calculateCartTotal is not a function ❯ CartPage src/refactoring/components/CartPage.tsx:26:70 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:25789:22
src/advanced/__tests__/advanced.test.tsx > advanced > > 자유롭게 작성해보세요. > 새로운 유틸 함수를 만든 후에 테스트 코드를 작성해서 실행해보세요: src/advanced/__tests__/advanced.test.tsx#L236
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ src/advanced/__tests__/advanced.test.tsx:236:20
src/advanced/__tests__/advanced.test.tsx > advanced > > 자유롭게 작성해보세요. > 새로운 hook 함수르 만든 후에 테스트 코드를 작성해서 실행해보세요: src/advanced/__tests__/advanced.test.tsx#L240
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ src/advanced/__tests__/advanced.test.tsx:240:20
advacned
Process completed with exit code 1.
src/basic/__tests__/basic.test.tsx > basic > > 시나리오 테스트 > > 장바구니 페이지 테스트 > : src/refactoring/components/CartPage.tsx#L26
TypeError: calculateCartTotal is not a function ❯ CartPage src/refactoring/components/CartPage.tsx:26:70 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:25789:22
src/basic/__tests__/basic.test.tsx > basic > > cartUtils > getMaxApplicableDiscount > 할인이 적용되지 않으면 0을 반환해야 합니다.: src/refactoring/models/cart.ts#L16
TypeError: discounts.reduce is not a function ❯ Module.getMaxApplicableDiscount src/refactoring/models/cart.ts:16:20 ❯ src/basic/__tests__/basic.test.tsx:370:26
src/basic/__tests__/basic.test.tsx > basic > > cartUtils > getMaxApplicableDiscount > 적용 가능한 가장 높은 할인율을 반환해야 합니다.: src/refactoring/models/cart.ts#L16
TypeError: discounts.reduce is not a function ❯ Module.getMaxApplicableDiscount src/refactoring/models/cart.ts:16:20 ❯ src/basic/__tests__/basic.test.tsx:375:26
src/basic/__tests__/basic.test.tsx > basic > > cartUtils > updateCartItemQuantity > 재고 한도를 초과해서는 안 됩니다.: src/basic/__tests__/basic.test.tsx#L436
TypeError: updateCartItemQuantity is not a function ❯ src/basic/__tests__/basic.test.tsx:436:39
basic
Process completed with exit code 1.
advacned
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
basic
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636