1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-23 22:11:10 +02:00
Files
imgproxy/integration/main_test.go
2025-09-30 13:24:23 +02:00

20 lines
285 B
Go

package integration
import (
"os"
"testing"
"github.com/imgproxy/imgproxy/v3"
)
// TestMain performs global setup/teardown for the integration tests.
func TestMain(m *testing.M) {
err := imgproxy.Init()
if err != nil {
panic(err)
}
os.Exit(m.Run())
imgproxy.Shutdown()
}