huoshan/test.go
2024-10-13 11:57:06 +08:00

22 lines
282 B
Go

package huoshan
import (
"apigo.cc/gojs"
"fmt"
"github.com/ssgo/u"
"testing"
)
func TestExport(t *testing.T) {
gojs.ExportForDev()
}
func TestLLM(t *testing.T) {
r, err := gojs.RunFile("test.js")
if err != nil {
t.Fatal(err)
}
fmt.Println()
fmt.Println(u.JsonP(r))
}