[9팀 김동한] [Chapter 2-2] 디자인 패턴과 함수형 프로그래밍 #148
Annotations
4 errors and 2 warnings
src/advanced/__tests__/advanced.test.tsx > advanced > > 시나리오 테스트 > > 장바구니 페이지 테스트 > :
src/refactoring/hooks/api/useCartAPI.ts#L8
Error: No QueryClient set, use QueryClientProvider to set one
❯ Module.useQueryClient node_modules/@tanstack/react-query/src/QueryClientProvider.tsx:18:11
❯ Module.useCartAPI src/refactoring/hooks/api/useCartAPI.ts:8:23
❯ CartPage src/refactoring/components/CartPage.tsx:19:7
❯ 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
|
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.
|
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
|