mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-11 18:02:14 +01:00
21 lines
367 B
Go
21 lines
367 B
Go
package pm2
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
"github.com/thecodingmachine/gotenberg/test"
|
|
)
|
|
|
|
func TestChromeStart(t *testing.T) {
|
|
p := NewChrome(test.CreateTestLogger())
|
|
err := p.Start()
|
|
require.Nil(t, err)
|
|
}
|
|
|
|
func TestChromeShutdown(t *testing.T) {
|
|
p := NewChrome(test.CreateTestLogger())
|
|
err := p.Shutdown()
|
|
require.Nil(t, err)
|
|
}
|