mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
- Created SideBySideDiffViewer component with unified and split-view modes - Added view mode toggle to BatchDiffApproval component - Integrated VSCode diff editor color variables for proper theming - Added comprehensive test coverage for the new component - Fixed vitest configuration to support React development mode for testing The implementation provides: - File navigation controls for multi-file operations - Parallel columns showing original vs modified content - Color coding for additions, deletions, and unchanged lines - Summary view showing all affected files - Toggle between traditional search/replace and modern side-by-side views
24 lines
532 B
TypeScript
24 lines
532 B
TypeScript
import { defineConfig } from "vitest/config"
|
|
import path from "path"
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
setupFiles: ["./vitest.setup.ts"],
|
|
watch: false,
|
|
reporters: ["dot"],
|
|
silent: true,
|
|
environment: "jsdom",
|
|
include: ["src/**/*.spec.ts", "src/**/*.spec.tsx"],
|
|
},
|
|
define: {
|
|
"process.env.NODE_ENV": '"development"',
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
"@src": path.resolve(__dirname, "./src"),
|
|
"@roo": path.resolve(__dirname, "../src/shared"),
|
|
},
|
|
},
|
|
})
|