chore(deps): update dependency vitest to v1.6.0 #21402
Triggered via pull request
September 25, 2024 10:58
Status
Failure
Total duration
3m 52s
Artifacts
–
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.
|