mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-16 05:13:41 +00:00
research: evaluate moejs extension compatibility and performance
This commit is contained in:
1 parent
be0a395447
commit
941fda7d13
29 files changed
+1688
No files matched your search
@@ -0,0 +1,16 @@
|
||||
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)
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user