mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 23:20:25 +08:00
16 lines
271 B
Go
16 lines
271 B
Go
package configs_test
|
|
|
|
import (
|
|
"github.com/TeaOSLab/EdgeNode/internal/configs"
|
|
_ "github.com/iwind/TeaGo/bootstrap"
|
|
"testing"
|
|
)
|
|
|
|
func TestLoadAPIConfig(t *testing.T) {
|
|
config, err := configs.LoadAPIConfig()
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Logf("%+v", config)
|
|
}
|