stable
Clone or download
Read-only
part of story #31064 Vue3 app + ngnix routing This contribution introduces unit tests on how urls are generated in the app. The tests are run using vitest. -- CI should be happy + no functionnal change -- Change-Id: I62e04560e344133938e4b6422fbe3347bf88446b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/scripts/pullrequest-overview/package.json | +4 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/pnpm-lock.yaml | +113 | −31 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/components/OverviewTabs.test.ts | +70 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/components/OverviewTabs.vue | +12 | −5 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/pullrequest-overview.ts | +6 | −7 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/router/base-url-builders.test.ts | +43 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/router/base-url-builders.ts | +38 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequest-overview/src/router/router.ts | +2 | −4 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/tests-helpers/global-options-for-tests.ts | +27 | −0 | Go to diff View file |