Skip to content

chore(deps): update dependency vitest to v1.6.0 #21216

chore(deps): update dependency vitest to v1.6.0

chore(deps): update dependency vitest to v1.6.0 #21216

Triggered via pull request September 20, 2024 13:55
Status Failure
Total duration 3m 54s
Artifacts

build_frontend_prs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
src/hooks/useRecentlyVisited.test.tsx: frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'chart.js'; const { _adapters } = pkg; ❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
src/component/changeRequest/ChangeRequest.test.tsx: frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'chart.js'; const { _adapters } = pkg; ❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
src/component/insights/Insights.test.tsx: frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'chart.js'; const { _adapters } = pkg; ❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
src/component/menu/__tests__/routes.test.tsx: frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'chart.js'; const { _adapters } = pkg; ❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
src/component/insights/componentsChart/UpdatesPerEnvironmentTypeChart/group-by-date.test.ts: frontend/src/component/insights/componentsChart/UpdatesPerEnvironmentTypeChart/UpdatesPerEnvironmentTypeChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'chart.js'; const { _adapters } = pkg; ❯ src/component/insights/componentsChart/UpdatesPerEnvironmentTypeChart/UpdatesPerEnvironmentTypeChart.tsx:3:31
src/component/layout/MainLayout/NavigationSidebar/NavigationSidebar.test.tsx: frontend/src/component/insights/componentsChart/UsersChart/UsersChart.tsx#L3
SyntaxError: Named export '_adapters' not found. The requested module 'chart.js' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'chart.js'; const { _adapters } = pkg; ❯ src/component/insights/componentsChart/UsersChart/UsersChart.tsx:3:31
build
Process completed with exit code 1.