CoolFace
Apppublic

legends810/testingnew

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
diff.spec.ts12 linesDownload Raw Back to utils
1import { describe, expect, it } from 'vitest';2import { extractRelativePath } from './diff';3import { WORK_DIR } from './constants';4 5describe('Diff', () => {6  it('should strip out Work_dir', () => {7    const filePath = `${WORK_DIR}/index.js`;8    const result = extractRelativePath(filePath);9    expect(result).toBe('index.js');10  });11});12