Commit e7a984f
fix(tests): add Platform.OS cleanup to EditDisplayNameSheet test
Add proper Platform.OS restoration in afterEach hook to prevent test
pollution between tests. Also use Object.defineProperty instead of
direct assignment for Platform.OS mutations, which is the recommended
pattern.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent daa2c1b commit e7a984f
1 file changed
Lines changed: 12 additions & 2 deletions
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
92 | 102 | | |
93 | 103 | | |
94 | 104 | | |
| |||
425 | 435 | | |
426 | 436 | | |
427 | 437 | | |
428 | | - | |
| 438 | + | |
429 | 439 | | |
430 | 440 | | |
431 | 441 | | |
| |||
458 | 468 | | |
459 | 469 | | |
460 | 470 | | |
461 | | - | |
| 471 | + | |
462 | 472 | | |
463 | 473 | | |
464 | 474 | | |
| |||
0 commit comments