mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-12-23 22:11:10 +02:00
20 lines
285 B
Go
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()
|
|
}
|