Commit 34c5ce5
test: migrate Enzyme tests to React Testing Library
Replace all 21 Enzyme test files with React Testing Library equivalents.
Remove enzyme, enzyme-adapter-react-16, enzyme-to-json and their @types
packages. Remove Enzyme config from tests/setup.ts and vitest.config.ts.
Delete commands-spec.tsx (RTL equivalents already exist in rtl-spec/).
Delete all Enzyme-generated snapshot files.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ee5c030 commit 34c5ce5
File tree
47 files changed
+1173
-5004
lines changed- src/renderer/components
- tests
- renderer/components
- __snapshots__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+1173
-5004
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | 101 | | |
104 | 102 | | |
105 | 103 | | |
| |||
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | 117 | | |
123 | 118 | | |
124 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
Lines changed: 0 additions & 112 deletions
This file was deleted.
Lines changed: 0 additions & 48 deletions
This file was deleted.
0 commit comments