12 lines
349 B
TypeScript
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);
|
|
});
|
|
});
|