vector: skip a flaky test for browsers

This commit is contained in:
Hajime Hoshi
2025-09-06 04:06:11 +09:00
parent d234fdead6
commit 187c074ca1

View File

@@ -15,6 +15,7 @@
package vector_test
import (
"runtime"
"testing"
"github.com/hajimehoshi/ebiten/v2"
@@ -200,6 +201,10 @@ func TestAddPathSelf(t *testing.T) {
}
func TestArcAndGeoM(t *testing.T) {
if runtime.GOOS == "js" {
t.Skip("the result might be flaky in this environment")
}
testCases := []struct {
name string
geoM ebiten.GeoM