Skip to content

🐞 fix(charts): Remove unreasonable xAxis.tickCount calculate logic for Line, Area, Column and DualAxes #82

🐞 fix(charts): Remove unreasonable xAxis.tickCount calculate logic for Line, Area, Column and DualAxes

🐞 fix(charts): Remove unreasonable xAxis.tickCount calculate logic for Line, Area, Column and DualAxes #82

Triggered via pull request April 12, 2024 13:53
Status Failure
Total duration 4m 17s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
src/ChartProvider/__tests__/theme.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/ChartProvider/__tests__/theme.test.tsx:2:31
src/badge/__tests__/index.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/badge/__tests__/index.test.tsx:2:31
src/config-provider/__tests__/ThemeProvider.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/config-provider/__tests__/ThemeProvider.test.tsx:2:31
src/config-provider/__tests__/form.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/config-provider/__tests__/form.test.tsx:2:31
src/config-provider/__tests__/hideOnSinglePage.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/config-provider/__tests__/hideOnSinglePage.test.tsx:3:31
src/config-provider/__tests__/navigate.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/config-provider/__tests__/navigate.test.tsx:4:31
src/config-provider/__tests__/spin.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/config-provider/__tests__/spin.test.tsx:2:31
src/config-provider/__tests__/static-function.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/config-provider/__tests__/static-function.test.tsx:2:31
src/config-provider/__tests__/styleProviderProps.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/config-provider/__tests__/styleProviderProps.test.tsx:3:31
src/config-provider/__tests__/theme.test.tsx: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js#L15
Error: [vitest] No "act" export is defined on the "react" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("react", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected]/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:15:47 ❯ src/config-provider/__tests__/theme.test.tsx:2:31
test (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/.