Files
shsf-cli/src/__tests__/config.test.ts
T
2026-03-20 14:56:19 +01:00

12 lines
349 B
TypeScript

import { describe, it, expect, vi } from 'vitest';
import path from 'path';
import os from 'os';
import { getConfigPath } from '../config.js';
describe('config', () => {
it('should return the correct config path', () => {
const expectedPath = path.join(os.homedir(), '.shsf_config');
expect(getConfigPath()).toBe(expectedPath);
});
});