stable
Clone or download
Read-only
The test files have been moved from *.spec.ts to *.test.ts to ease the configuration of ESLint and to make it easy to spot tests that have not yet been migrated from Karma/Jasmine. This contribution does yet not configure properly the snapshotting of Vue components. It will come with another commit and an example. Code coverage is also not collected in the CI pipeline. Part of request #13789: Move the release widget plugin to Jest Change-Id: Iafe68fb8d26ad0790d8d07c269cd142e361b65b0
Modified Files
Name | ||||
---|---|---|---|---|
M | .eslintrc.js | +14 | −1 | Go to diff View file |
M | package-lock.json | +3095 | −155 | Go to diff View file |
M | package.json | +11 | −2 | Go to diff View file |
A | plugins/release_widget/scripts/jest.config.js | +20 | −0 | Go to diff View file |
D | plugins/release_widget/scripts/karma.conf.js | +0 | −42 | Go to diff View file |
M | plugins/release_widget/scripts/package.json | +3 | −3 | Go to diff View file |
R | plugins/release_widget/scripts/releasewidget/src/api/rest-querier.spec.ts | Go to diff View file | ||
D | plugins/release_widget/scripts/releasewidget/src/app.spec.ts | +0 | −37 | Go to diff View file |
R | plugins/release_widget/scripts/releasewidget/src/components/App.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/components/RoadmapSection/RoadmapSection.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/components/WhatsHotSection/ReleaseBadges.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/components/WhatsHotSection/ReleaseDescription/ReleaseDescription.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/components/WhatsHotSection/ReleaseDescription/ReleaseDescriptionBadgesTracker.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/components/WhatsHotSection/ReleaseDisplayer.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/components/WhatsHotSection/ReleaseHeader/ReleaseHeader.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/components/WhatsHotSection/ReleaseHeader/ReleaseHeaderRemainingDays.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/components/WhatsHotSection/ReleaseHeader/ReleaseHeaderRemainingPoints.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/components/WhatsHotSection/WhatsHotSection.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/helpers/date-formatters.spec.ts | Go to diff View file | ||
R | plugins/release_widget/scripts/releasewidget/src/store/actions.spec.ts | Go to diff View file | ||
M | plugins/release_widget/scripts/webpack.config.js | +1 | −1 | Go to diff View file |
R | src/www/scripts/vue-components/store-wrapper.d.ts | Go to diff View file | ||
A | src/www/scripts/vue-components/store-wrapper-jest.js | +38 | −0 | Go to diff View file |
A | src/www/themes/common/tlp/mocks/tlp-fetch-mock-helper.d.ts | +27 | −0 | Go to diff View file |
A | src/www/themes/common/tlp/mocks/tlp-fetch-mock-helper.js | +40 | −0 | Go to diff View file |
M | tests/Jenkinsfile | +11 | −3 | Go to diff View file |
M | tests/actions.groovy | +9 | −0 | Go to diff View file |
A | tests/jest/babel-jest-process.js | +20 | −0 | Go to diff View file |
A | tests/jest/babel.config.js | +20 | −0 | Go to diff View file |
A | tests/jest/jest.config.js | +68 | −0 | Go to diff View file |
M | tools/utils/scripts/webpack-rule-configs.js | +22 | −13 | Go to diff View file |
M | tsconfig.json | +2 | −2 | Go to diff View file |