Files
goffmpeg/config_test.go
Fran ec40467798 cleanup & fix ci (#82)
* cleanup readme & examples
* upgrade go version
* add makefile with basic commands
* add e2e test
* add gha
* update .gitignore
2023-09-29 17:47:28 +02:00

19 lines
359 B
Go

package goffmpeg
import (
"context"
"testing"
"github.com/stretchr/testify/assert"
)
func TestConfigure(t *testing.T) {
t.Run("Should set the correct command", func(t *testing.T) {
ctx := context.Background()
cfg, err := Configure(ctx)
assert.Nil(t, err)
assert.NotEmpty(t, cfg.FFmpegBinPath())
assert.NotEmpty(t, cfg.FFprobeBinPath())
})
}