char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
ece963f41
char/aliceai-t5-moe
1import { SETTINGS_CHAT_SECTIONS , SETTINGS_KEYS } from '$lib/constants' ; 2import { describe , expect , it } from 'vitest' ; 3 4describe ( 'checkApiKeyField' , () => { 5it ( 'should have isPrivate set to true' , () => { 6const fields = SETTINGS_CHAT_SECTIONS . flatMap (( section ) => section . fields ); 7const apiKeyField = fields . find (( field ) => field ?. key === SETTINGS_KEYS . API_KEY ); 8 9expect ( apiKeyField ). toBeDefined (); 10expect ( apiKeyField ?. isPrivate ). toBe ( true ); 11}); 12});