The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
import { describe, expect, it } from 'vitest'
import { getServiceVersionsPath } from './ServiceVersions.utils'
describe('getServiceVersionsPath', () => {
it('links directly to the Service versions section in General settings', () => {
expect(getServiceVersionsPath('project-ref')).toBe(
'/project/project-ref/settings/general#service-versions'
)
})
it('uses the project placeholder while the selected project is unavailable', () => {
expect(getServiceVersionsPath()).toBe('/project/_/settings/general#service-versions')
})
})