Skip to content

Commit

Permalink
fixed lint issues and test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
kanodia-parag committed Dec 9, 2024
1 parent 2fbba69 commit 4108703
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"context"
"encoding/json"
"testing"
"time"

"github.com/99designs/gqlgen/graphql/handler/transport"
"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -233,6 +234,9 @@ func TestSubscription(t *testing.T) {
Log: LogDirective,
},
}))
srv.AddTransport(transport.Websocket{
KeepAlivePingInterval: time.Second,
})
srv.AddTransport(transport.POST{})
c := client.New(srv)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ func TestFederationWithUseFunctionSyntaxForExecutionContext(t *testing.T) {
srv.AddTransport(transport.POST{})
c := client.New(srv)


t.Run("Hello entities", func(t *testing.T) {
representations := []map[string]any{
{
Expand Down

0 comments on commit 4108703

Please # to comment.