Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

byok.test.ts

11 lines455 Bytes

1import { describe, expect, it } from 'vitest'
2import { byteplusByok, byteplusVoiceByok } from '../src/byok'
3​
4describe('byteplus BYOK', () => {
5 it('exports separate Ark and Seed Speech slugs', () => {
6 expect(byteplusByok.id).toBe('byteplus')
7 expect(byteplusByok.env).toEqual(['ARK_API_KEY', 'BYTEPLUS_API_KEY'])
8 expect(byteplusVoiceByok.id).toBe('byteplus-voice')
9 expect(byteplusVoiceByok.env).toEqual(['BYTEPLUS_VOICE_API_KEY'])
10 })
11})