Files
crawlab/core/cmd/server_test.go
2024-06-14 15:42:50 +08:00

18 lines
228 B
Go

package cmd
import (
"github.com/crawlab-team/crawlab/core/apps"
"os"
"testing"
)
func TestCmdServer(t *testing.T) {
_ = os.Setenv("CRAWLAB_PPROF", "true")
// app
svr := apps.GetServerV2()
// start
apps.Start(svr)
}