返回 DeepSeek-Reasonix
main_test.go
根目录 / internal / skill / main_test.go
1 package skill
2
3 import (
4 "testing"
5
6 "reasonix/internal/skill/skillwatch"
7 "reasonix/internal/testenv"
8 )
9
10 func TestMain(m *testing.M) {
11 // Watch tests spawn the helper by re-executing os.Executable(), which here
12 // is this test binary. Serve the pipe instead of re-running the suite.
13 if skillwatch.MaybeRunHelper() {
14 return
15 }
16 testenv.RunWithIsolatedUserState(m)
17 }
18
18 lines GO