mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-29 18:00:51 +01:00
feat: added modules
This commit is contained in:
17
core/cmd/server_test.go
Normal file
17
core/cmd/server_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user