legends810/testingnew
0
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 