Vanilla Extract rewrite #637
Annotations
3 errors and 10 warnings
Unhandled error:
components/src/components/organisms/Toast/Toast.test.tsx#L48
AssertionError: expected "spy" to be called at least once
❯ Proxy.<anonymous> ../node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/expect/dist/index.js:1451:13
❯ Proxy.<anonymous> ../node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/expect/dist/index.js:920:17
❯ Proxy.methodWrapper ../node_modules/.pnpm/[email protected]/node_modules/chai/chai.js:1591:25
❯ src/components/organisms/Toast/Toast.test.tsx:48:40
❯ runNextTicks node:internal/process/task_queues:60:5
❯ listOnTimeout node:internal/timers:538:9
❯ processTimers node:internal/timers:512:7
This error originated in "src/components/organisms/Toast/Toast.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
Unhandled error:
components/src/components/organisms/Toast/Toast.test.tsx#L68
TestingLibraryElementError: Unable to find an element by: [data-testid="action"]
Ignored nodes: comments, script, style
<body />
❯ Object.getElementError ../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:37:19
❯ ../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ ../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ ../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/organisms/Toast/Toast.test.tsx:68:33
This error originated in "src/components/organisms/Toast/Toast.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
Test (18)
Process completed with exit code 1.
|
Lint (18):
components/src/components/atoms/Box/Box.tsx#L41
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
|
Lint (18):
components/src/components/atoms/DynamicPopover/DynamicPopover.tsx#L467
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
|
Lint (18):
components/src/components/atoms/Field/Field.tsx#L300
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
|
Lint (18):
components/src/components/molecules/Dropdown/Dropdown.tsx#L216
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
|
Lint (18):
components/src/components/molecules/Dropdown/Dropdown.tsx#L404
Using 'Children.map' is uncommon and can lead to fragile code. Use alternatives instead
|
Lint (18):
components/src/components/molecules/Dropdown/Dropdown.tsx#L406
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
|
Lint (18):
components/src/components/molecules/PageButtons/PageButtons.tsx#L135
Do not use Array index as 'key'
|
Lint (18):
components/src/components/molecules/RadioButtonGroup/RadioButtonGroup.tsx#L104
Using 'Children.map' is uncommon and can lead to fragile code. Use alternatives instead
|
Lint (18):
components/src/components/molecules/RadioButtonGroup/RadioButtonGroup.tsx#L116
Using 'cloneElement' is uncommon and can lead to fragile code. Use alternatives instead
|
Lint (18):
components/src/components/molecules/Tooltip/Tooltip.tsx#L149
Using 'Children.only' is uncommon and can lead to fragile code. Use alternatives instead
|