mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-14 12:23:43 +00:00
17 lines
320 B
Go
17 lines
320 B
Go
package evaluation
|
|
|
|
import "testing"
|
|
|
|
func TestFrozenExtensionReplay(t *testing.T) {
|
|
for _, name := range []string{"bilibili", "youtube", "twitter"} {
|
|
t.Run(name, func(t *testing.T) {
|
|
r := setup(t, "moejs-frozen", name)
|
|
v, e := r.Eval("resolveOnce()")
|
|
if e != nil {
|
|
t.Fatal(e)
|
|
}
|
|
t.Log(v)
|
|
})
|
|
}
|
|
}
|