stable

Clone or download

Read-only

chore: Convert baseline rest-querier to typescript

Remove factories that was painfull to convert to TS and was adding no real value. Part of request #34712: Convert baseline scripts to TypeScript Change-Id: I805c11c49cc4abd81bd6d6fd170e327d5b377bc0

Modified Files

Name
R plugins/baseline/scripts/baseline/api/rest-querier.test.js Go to diff View file
R plugins/baseline/scripts/baseline/api/rest-querier.js Go to diff View file
M plugins/baseline/scripts/baseline/components/App.test.js +7 −2 Go to diff View file
M plugins/baseline/scripts/baseline/components/IndexPage.test.js +16 −2 Go to diff View file
M plugins/baseline/scripts/baseline/components/baseline-content/ArtifactsList.test.js +35 −2 Go to diff View file
M plugins/baseline/scripts/baseline/components/baseline-content/ContentArtifact.test.js +61 −12 Go to diff View file
M plugins/baseline/scripts/baseline/components/baseline-content/ContentBody.test.js +48 −6 Go to diff View file
M plugins/baseline/scripts/baseline/components/baselines-list/BaselinesList.test.js +35 −2 Go to diff View file
M plugins/baseline/scripts/baseline/components/baselines-list/DeleteBaselineButton.test.js +1 −2 Go to diff View file
M plugins/baseline/scripts/baseline/components/baselines-list/DeleteBaselineConfirmationModal.test.js +1 −2 Go to diff View file
M plugins/baseline/scripts/baseline/components/comparison/NewComparisonModal.test.js +3 −4 Go to diff View file
M plugins/baseline/scripts/baseline/components/comparison/SaveComparisonModal.test.js +7 −2 Go to diff View file
M plugins/baseline/scripts/baseline/components/comparison/content/ArtifactComparison.test.js +15 −9 Go to diff View file
M plugins/baseline/scripts/baseline/components/comparison/content/ComparisonContent.test.js +48 −3 Go to diff View file
M plugins/baseline/scripts/baseline/components/comparisons-list/ComparisonItem.test.js +17 −7 Go to diff View file
M plugins/baseline/scripts/baseline/components/comparisons-list/ComparisonsList.test.js +14 −2 Go to diff View file
M plugins/baseline/scripts/baseline/components/comparisons-list/DeleteComparisonConfirmationModal.test.js +15 −4 Go to diff View file
M plugins/baseline/scripts/baseline/components/new-baseline/MilestonesSelect.test.js +3 −4 Go to diff View file
M plugins/baseline/scripts/baseline/components/new-baseline/NewBaselineModal.test.js +9 −4 Go to diff View file
R plugins/baseline/scripts/baseline/constants/index.js Go to diff View file
M plugins/baseline/scripts/baseline/store/baselines.test.js +47 −6 Go to diff View file
M plugins/baseline/scripts/baseline/store/comparisons.test.js +19 −8 Go to diff View file
M plugins/baseline/scripts/baseline/store/current_baseline.test.js +15 −4 Go to diff View file
M plugins/baseline/scripts/baseline/store/current_comparison/abstract_baseline_content.test.js +270 −30 Go to diff View file
M plugins/baseline/scripts/baseline/store/current_comparison/index.test.js +185 −21 Go to diff View file
M plugins/baseline/scripts/baseline/store/global.test.js +14 −15 Go to diff View file
M plugins/baseline/scripts/baseline/store/semantics.test.js +13 −17 Go to diff View file
D plugins/baseline/scripts/baseline/support/factories.js +0 −196 Go to diff View file
M plugins/baseline/scripts/baseline/type.ts +26 −0 Go to diff View file