Files
EdgeAPI/internal/installers/helpers/unzip_test.go

18 lines
369 B
Go

package helpers_test
import (
"github.com/TeaOSLab/EdgeAPI/internal/installers/helpers"
"github.com/iwind/TeaGo/Tea"
_ "github.com/iwind/TeaGo/bootstrap"
"testing"
)
func TestUnzip_Run(t *testing.T) {
var unzip = helpers.NewUnzip(Tea.Root+"/deploy/edge-node-v0.0.1.zip", Tea.Root+"/deploy/")
err := unzip.Run()
if err != nil {
t.Fatal(err)
}
t.Log("OK")
}