Felipe97/llama-cpp-compiled
01.2k
1import { SETTINGS_CHAT_SECTIONS, SETTINGS_KEYS } from '$lib/constants';2import { describe, expect, it } from 'vitest';3 4describe('checkApiKeyField', () => {5 it('should have isPrivate set to true', () => {6 const fields = SETTINGS_CHAT_SECTIONS.flatMap((section) => section.fields);7 const apiKeyField = fields.find((field) => field?.key === SETTINGS_KEYS.API_KEY);8 9 expect(apiKeyField).toBeDefined();10 expect(apiKeyField?.isPrivate).toBe(true);11 });12});13 