Skip to content

refactor(Tab): convert to TypeScript, impove docs and tests, close#4612 #437

refactor(Tab): convert to TypeScript, impove docs and tests, close#4612

refactor(Tab): convert to TypeScript, impove docs and tests, close#4612 #437

Triggered via pull request September 6, 2024 03:48
Status Failure
Total duration 1m 41s
Artifacts

check-pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
changed: components/tab/__tests__/index-spec.tsx#L227
It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line
changed: components/tab/__tests__/index-spec.tsx#L245
It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line
changed: components/tab/types.ts#L38
Unexpected any. Specify a different type
changed: components/tab/types.ts#L182
Unexpected any. Specify a different type
changed
Process completed with exit code 1.
changed
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
changed: components/tab/__docs__/demo/shape/index.tsx#L4
'instanceOf' is defined but never used
changed: components/tab/__docs__/theme/index.tsx#L1
Import "ReactNode" is only used as types
changed: components/tab/__docs__/theme/index.tsx#L3
All imports in the declaration are only used as types. Use `import type`
changed: components/tab/__tests__/index-spec.tsx#L550
'panes' is assigned a value but never used
changed: components/tab/__tests__/index-spec.tsx#L553
'boxStyle' is assigned a value but never used
changed: components/tab/tab.tsx#L1
Import "ReactElement" is only used as types
changed: components/tab/tab.tsx#L10
All imports in the declaration are only used as types. Use `import type`
changed: components/tab/tab.tsx#L11
All imports in the declaration are only used as types. Use `import type`
changed: components/tab/tabs/content.tsx#L1
'ReactElement' is defined but never used
changed: components/tab/tabs/content.tsx#L4
All imports in the declaration are only used as types. Use `import type`