Commit fde1ed9
committed
fix: make doTest suspendable and initialize bot config
Updated `doTest` to be a suspend function to support coroutine usage. Added `initConfiguration` call to ensure bot configuration is properly initialized before use. This improves reliability and aligns with the required setup process.1 parent 1ce66f7 commit fde1ed9
File tree
1 file changed
+2
-1
lines changed- simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonTest/kotlin/love/forte/simbot/component/onebot/v11/core/bot
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
0 commit comments