Commit 6ca08f1
authored
[5.2][Cypress] Minor Code Simplicifcation (#44780)
Since `setSefDefaults` already returns a Promise (which Cypress understands and waits for),
there's no need to wrap it in an anonymous function.
Therefore, the code is simplified for more beauty.
Thanks to @laoneo for the hint.1 parent 9956abc commit 6ca08f1
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments