Commit 27c36b3
committed
test: add beforeEach to reset theme state
Add beforeEach hook to ensure theme is reset to 'socket' before each
test runs, preventing test pollution from affecting "should default to
socket theme" test.
Fixes test failure where theme state leaked between tests.1 parent 15583a4 commit 27c36b3
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
0 commit comments