improve(test): Migrate from jest to vitest #2221
Annotations
6 errors and 1 warning
src/Area/__tests__/ref.test.tsx:
node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js#L549
Error: Cannot apply @Injectable decorator multiple times.
❯ ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/injectable.ts:8:13
❯ DecorateConstructor ../../node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js:549:33
❯ Reflect.decorate ../../node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js:143:24
❯ _decorate ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/decorator_utils.ts:67:13
❯ Proxy.decorate ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/decorator_utils.ts:89:9
❯ ../../node_modules/.pnpm/@AntV[email protected]/node_modules/@antv/l7-core/es/inversify.config.js:91:23
|
src/DualAxes/__tests__/ref.test.tsx:
node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js#L549
Error: Cannot apply @Injectable decorator multiple times.
❯ ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/injectable.ts:8:13
❯ DecorateConstructor ../../node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js:549:33
❯ Reflect.decorate ../../node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js:143:24
❯ _decorate ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/decorator_utils.ts:67:13
❯ Proxy.decorate ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/decorator_utils.ts:89:9
❯ ../../node_modules/.pnpm/@AntV[email protected]/node_modules/@antv/l7-core/es/inversify.config.js:91:23
|
src/Line/__tests__/ref.test.tsx:
node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js#L549
Error: Cannot apply @Injectable decorator multiple times.
❯ ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/injectable.ts:8:13
❯ DecorateConstructor ../../node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js:549:33
❯ Reflect.decorate ../../node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js:143:24
❯ _decorate ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/decorator_utils.ts:67:13
❯ Proxy.decorate ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/decorator_utils.ts:89:9
❯ ../../node_modules/.pnpm/@AntV[email protected]/node_modules/@antv/l7-core/es/inversify.config.js:91:23
|
src/Pie/__tests__/donut.test.tsx:
node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js#L549
Error: Cannot apply @Injectable decorator multiple times.
❯ ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/injectable.ts:8:13
❯ DecorateConstructor ../../node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js:549:33
❯ Reflect.decorate ../../node_modules/.pnpm/[email protected]/node_modules/reflect-metadata/Reflect.js:143:24
❯ _decorate ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/decorator_utils.ts:67:13
❯ Proxy.decorate ../../node_modules/.pnpm/[email protected]/node_modules/inversify/src/annotation/decorator_utils.ts:89:9
❯ ../../node_modules/.pnpm/@AntV[email protected]/node_modules/@antv/l7-core/es/inversify.config.js:91:23
|
src/config-provider/__tests__/ThemeProvider.test.tsx > ConfigProvider theme with ThemeProvider > ConfigProvider theme token:
packages/design/src/config-provider/__tests__/ThemeProvider.test.tsx#L22
AssertionError: expected '#f8fafe' to be '#ff0000' // Object.is equality
- Expected
+ Received
- #ff0000
+ #f8fafe
❯ 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
|
build (16.x, ubuntu-latest)
Process completed with exit code 1.
|
build (16.x, ubuntu-latest)
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/.
|