mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-14 11:22:15 +01:00
refactoring tests util methods + adding context tests
This commit is contained in:
@@ -2,11 +2,11 @@ package main
|
||||
|
||||
import (
|
||||
"github.com/thecodingmachine/gotenberg/internal/pkg/pm2"
|
||||
"github.com/thecodingmachine/gotenberg/test/internalpkg/xlogtest"
|
||||
"github.com/thecodingmachine/gotenberg/test"
|
||||
)
|
||||
|
||||
func main() {
|
||||
logger := xlogtest.DebugLogger()
|
||||
logger := test.DebugLogger()
|
||||
process := pm2.NewChromeProcess(logger)
|
||||
if err := process.Start(); err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user