Commit 3194677
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 3194677
46 files changed
Lines changed: 1172 additions & 5003 deletions
File tree
- 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.
| 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 | | |
| |||
Lines changed: 0 additions & 112 deletions
This file was deleted.
Lines changed: 0 additions & 48 deletions
This file was deleted.
0 commit comments