Commit fe712fe
Optimize showSaveMessage test with Jest fake timers
Replace 2+ second setTimeout with jest.advanceTimersByTime(2000) for instant
test execution. Improves test performance by ~70% (2.8s → 0.86s Jest time).
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent e8a5f47 commit fe712fe
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
771 | 779 | | |
772 | 780 | | |
773 | 781 | | |
| |||
784 | 792 | | |
785 | 793 | | |
786 | 794 | | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
791 | 798 | | |
792 | 799 | | |
793 | 800 | | |
| |||
0 commit comments