chore(deps): update dependency vitest to v1.6.0 #24580
Annotations
10 errors and 1 warning
Run yarn run test:
frontend/src/component/personalDashboard/createChartData.ts#L1
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/personalDashboard/createChartData.ts:1:1
This error originated in "src/component/personalDashboard/PersonalDashboard.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "Render personal dashboard for a long running project". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Run yarn run test:
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
|
Run yarn run test:
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
|
Run yarn run test:
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
|
Run yarn run test:
frontend/src/component/personalDashboard/PersonalDashboard.test.tsx#L135
TestingLibraryElementError: Unable to find an element with the text: Got it, let's get started!. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div />
</body>
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/component/personalDashboard/PersonalDashboard.test.tsx:135:45
|
Run yarn run test:
frontend/src/component/personalDashboard/createChartData.ts#L1
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/personalDashboard/createChartData.ts:1:1
|
Run yarn run test:
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
|
Run yarn run test:
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
|
Run yarn run test:
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
|
Run yarn run test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading