fix: route HoloLake links to REPO-014

This commit is contained in:
冰朔 2026-08-04 21:08:56 +08:00
commit c0f85292b5
4 changed files with 35 additions and 9 deletions

View file

@ -0,0 +1,22 @@
import { describe, expect, it } from 'vitest'
import {
TOLARIA_DOCS_URL,
TOLARIA_GITHUB_CONTRIBUTING_URL,
TOLARIA_GITHUB_DISCUSSIONS_URL,
TOLARIA_GITHUB_ISSUES_URL,
TOLARIA_GITHUB_PULL_REQUESTS_URL,
TOLARIA_PRODUCT_BOARD_URL,
} from './feedback'
const repositoryUrl = 'https://guanghulab.com/code/bingshuo/hololake-system-architecture'
describe('HoloLake public repository routes', () => {
it('keeps every shipped repository link on the current REPO-014 route', () => {
expect(TOLARIA_GITHUB_CONTRIBUTING_URL).toBe(repositoryUrl)
expect(TOLARIA_DOCS_URL).toBe(`${repositoryUrl}/src/branch/main/product-source/hololake-platform/docs`)
expect(TOLARIA_PRODUCT_BOARD_URL).toBe(`${repositoryUrl}/issues`)
expect(TOLARIA_GITHUB_DISCUSSIONS_URL).toBe(`${repositoryUrl}/issues`)
expect(TOLARIA_GITHUB_ISSUES_URL).toBe(`${repositoryUrl}/issues`)
expect(TOLARIA_GITHUB_PULL_REQUESTS_URL).toBe(`${repositoryUrl}/pulls`)
})
})

View file

@ -3,10 +3,11 @@ export const CODACY_HOME_URL = 'https://www.codacy.com/'
export const CODESCENE_HOME_URL = 'https://codescene.com/'
export const CIRCLECI_HOME_URL = 'https://circleci.com/'
export const UNBLOCKED_HOME_URL = 'https://getunblocked.com/'
export const TOLARIA_DOCS_URL = 'https://guanghulab.com/fifth-domain/bingshuo/hololake-platform/src/branch/main/docs'
export const HOLOLAKE_REPOSITORY_URL = 'https://guanghulab.com/code/bingshuo/hololake-system-architecture'
export const TOLARIA_DOCS_URL = `${HOLOLAKE_REPOSITORY_URL}/src/branch/main/product-source/hololake-platform/docs`
export const TOLARIA_FIRST_LAUNCH_DOCS_URL = TOLARIA_DOCS_URL
export const TOLARIA_PRODUCT_BOARD_URL = 'https://guanghulab.com/fifth-domain/bingshuo/hololake-platform/issues'
export const TOLARIA_GITHUB_DISCUSSIONS_URL = 'https://guanghulab.com/fifth-domain/bingshuo/hololake-platform/issues'
export const TOLARIA_GITHUB_CONTRIBUTING_URL = 'https://guanghulab.com/fifth-domain/bingshuo/hololake-platform'
export const TOLARIA_GITHUB_ISSUES_URL = 'https://guanghulab.com/fifth-domain/bingshuo/hololake-platform/issues'
export const TOLARIA_GITHUB_PULL_REQUESTS_URL = 'https://guanghulab.com/fifth-domain/bingshuo/hololake-platform/pulls'
export const TOLARIA_PRODUCT_BOARD_URL = `${HOLOLAKE_REPOSITORY_URL}/issues`
export const TOLARIA_GITHUB_DISCUSSIONS_URL = `${HOLOLAKE_REPOSITORY_URL}/issues`
export const TOLARIA_GITHUB_CONTRIBUTING_URL = HOLOLAKE_REPOSITORY_URL
export const TOLARIA_GITHUB_ISSUES_URL = `${HOLOLAKE_REPOSITORY_URL}/issues`
export const TOLARIA_GITHUB_PULL_REQUESTS_URL = `${HOLOLAKE_REPOSITORY_URL}/pulls`