hololake-system-architecture/product-source/hololake-platform/src/constants/feedback.test.ts

22 lines
957 B
TypeScript
Raw Normal View History

2026-08-04 21:08:56 +08:00
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`)
})
})