gijl/lv-storage / llama.cpp /tools /ui /tests /unit /settings-private-fields.test.ts
gijl's picture
download
raw
460 Bytes
import { SETTINGS_CHAT_SECTIONS, SETTINGS_KEYS } from '$lib/constants';
import { describe, expect, it } from 'vitest';
describe('checkApiKeyField', () => {
it('should have isPrivate set to true', () => {
const fields = SETTINGS_CHAT_SECTIONS.flatMap((section) => section.fields);
const apiKeyField = fields.find((field) => field?.key === SETTINGS_KEYS.API_KEY);
expect(apiKeyField).toBeDefined();
expect(apiKeyField?.isPrivate).toBe(true);
});
});

Xet Storage Details

Size:
460 Bytes
·
Xet hash:
4b5ccdfcd8f25193ffb86c4b96fe40ef0fcfa7db3ae5bdf3b5ffbf413fc1a94f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.