Skip to content

Commit 84d9266

Browse files
committed
fix: do not run piebiten tests in the browser
Because they are flaky.
1 parent 6b07718 commit 84d9266

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

piebiten/piebiten_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
// Copyright 2025 Jacek Olszak
22
// This code is licensed under MIT license (see LICENSE for details)
33

4+
//go:build !js
5+
46
package piebiten_test
57

68
import (
9+
"testing"
10+
711
"github.com/elgopher/pi"
812
"github.com/elgopher/pi/piebiten"
913
"github.com/elgopher/pi/piebiten/internal/ebitentesting"
1014
"github.com/hajimehoshi/ebiten/v2"
1115
"github.com/stretchr/testify/assert"
12-
"testing"
1316
)
1417

1518
func TestMain(m *testing.M) {

0 commit comments

Comments
 (0)