stable

Clone or download

Read-only

Convert most of the plugin libraries to Vitest

Only the `@tuleap/plugin-agiledashboard-card-fields` package has not yet been migrated. It seems to require a bit more work than importing `vitest` functions explicitly. Part of request #27556: Migrate Vite-based packages to Vitest Change-Id: Iab03795f9c0b7dddb8fc4b4f2e7dce41b1d88ef1

Modified Files

Name
M lib/frontend/build-system-configurator/src/vite/vite-configurator.ts +3 −3 Go to diff View file
M lib/frontend/tlp-fetch/mocks/tlp-fetch-mock-helper.d.ts +16 −2 Go to diff View file
D plugins/agiledashboard/scripts/lib/shared/jest.config.js +0 −26 Go to diff View file
M plugins/agiledashboard/scripts/lib/shared/package.json +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/lib/shared/src/error-message-helper.test.ts +1 −0 Go to diff View file
M plugins/agiledashboard/scripts/lib/shared/tsconfig.json +0 −1 Go to diff View file
D plugins/document_generation/jest.config.mjs +0 −30 Go to diff View file
M plugins/document_generation/package.json +1 −1 Go to diff View file
D plugins/document_generation/scripts/lib/docx/jest.config.js +0 −26 Go to diff View file
M plugins/document_generation/scripts/lib/docx/package.json +1 −1 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/artifacts-retriever.test.ts +5 −2 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/artifacts-structure-retriever.test.ts +2 −1 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/sections-anchor.test.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/step-test-definition-generic-formatter.test.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/test-execution-retriever.test.ts +4 −1 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/tracker-structure-retriever.test.ts +5 −2 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Image/image-loader.test.ts +4 −1 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Image/image-transformation.test.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Memoize/memoize.test.ts +4 −3 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/TextContent/extract-style-html-element.test.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/TextContent/list-instance-id-generator.test.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/TextContent/transform-html-into-paragraphs.test.ts +4 −3 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/TextContent/transform-large-content-into-paragraphs.test.ts +2 −1 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/TextContent/transform-text-with-newlines.test.ts +1 −0 Go to diff View file
D plugins/document_generation/scripts/lib/xlsx/jest.config.js +0 −26 Go to diff View file
M plugins/document_generation/scripts/lib/xlsx/package.json +1 −1 Go to diff View file
M plugins/document_generation/scripts/lib/xlsx/src/create-merges.test.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/lib/xlsx/src/report-cells.test.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/lib/xlsx/tsconfig.json +0 −2 Go to diff View file