feat(design): Input add default placeholder and ConfigProvider support to config it global #47
Annotations
10 errors and 1 warning
Run test:
packages/charts/src/theme/index.ts#L12
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
❯ resolveDispatcher ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1476:13
❯ Proxy.useContext ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1484:20
❯ Module.useTheme src/theme/index.ts:12:34
❯ Child src/ChartProvider/__tests__/theme.test.tsx:10:27
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
|
Run test:
packages/charts/src/theme/index.ts#L12
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
❯ resolveDispatcher ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1476:13
❯ Proxy.useContext ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1484:20
❯ Module.useTheme src/theme/index.ts:12:34
❯ Child src/ChartProvider/__tests__/theme.test.tsx:24:27
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
|
Run test:
packages/charts/src/theme/index.ts#L12
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
❯ resolveDispatcher ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1476:13
❯ Proxy.useContext ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1484:20
❯ Module.useTheme src/theme/index.ts:12:34
❯ Child src/ChartProvider/__tests__/theme.test.tsx:38:27
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
|
Run test:
packages/charts/src/theme/index.ts#L12
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
❯ resolveDispatcher ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1476:13
❯ Proxy.useContext ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1484:20
❯ Module.useTheme src/theme/index.ts:12:34
❯ Child src/ChartProvider/__tests__/theme.test.tsx:52:27
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
|
Run test:
packages/design/src/config-provider/__tests__/ThemeProvider.test.tsx#L22
AssertionError: expected '#f3f6fc' to be '#ff0000' // Object.is equality
- Expected
+ Received
- #ff0000
+ #f3f6fc
❯ Child3 src/config-provider/__tests__/ThemeProvider.test.tsx:22:35
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
Run test:
packages/design/src/config-provider/__tests__/form.test.tsx#L32
AssertionError: expected null to be truthy
- Expected:
null
+ Received:
false
❯ src/config-provider/__tests__/form.test.tsx:32:7
|
Run test:
node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/useRafState.js#L34
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
❯ resolveDispatcher ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1476:13
❯ Proxy.useRef ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1515:20
❯ Module.useRafState [as default] ../../node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/useRafState.js:34:37
❯ Module.useSize ../../node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/index.js:38:48
❯ Drawer src/drawer/index.tsx:71:3
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
|
Run test:
node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/useRafState.js#L34
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
❯ resolveDispatcher ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1476:13
❯ Proxy.useRef ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1515:20
❯ Module.useRafState [as default] ../../node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/useRafState.js:34:37
❯ Module.useSize ../../node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/index.js:38:48
❯ Drawer src/drawer/index.tsx:71:3
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
|
Run test:
node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/useRafState.js#L34
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
❯ resolveDispatcher ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1476:13
❯ Proxy.useRef ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1515:20
❯ Module.useRafState [as default] ../../node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/useRafState.js:34:37
❯ Module.useSize ../../node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/index.js:38:48
❯ Drawer src/drawer/index.tsx:71:3
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
|
Run test:
node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/useRafState.js#L34
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
❯ resolveDispatcher ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1476:13
❯ Proxy.useRef ../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.development.js:1515:20
❯ Module.useRafState [as default] ../../node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/useRafState.js:34:37
❯ Module.useSize ../../node_modules/.pnpm/[email protected][email protected]/node_modules/ahooks/es/useSize/index.js:38:48
❯ Drawer src/drawer/index.tsx:71:3
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading