mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
22 lines
243 B
Go
22 lines
243 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
// before test
|
|
//if err := StartTestSeaweedFs(); err != nil {
|
|
// panic(err)
|
|
//}
|
|
|
|
// test
|
|
m.Run()
|
|
|
|
// close
|
|
_ = T.m.Close()
|
|
|
|
// after test
|
|
//_ = StopTestSeaweedFs()
|
|
}
|