diff --git a/js/modules/k6/grpc/client_test.go b/js/modules/k6/grpc/client_test.go index a10fa263a03..a3c375f3f5a 100644 --- a/js/modules/k6/grpc/client_test.go +++ b/js/modules/k6/grpc/client_test.go @@ -666,6 +666,18 @@ func TestClient(t *testing.T) { code: `client.connect("GRPCBIN_ADDR", {reflect: true})`, }, }, + { + name: "ReflectV1", + setup: func(tb *httpmultibin.HTTPMultiBin) { + reflection.RegisterV1(tb.ServerGRPC) + }, + initString: codeBlock{ + code: `var client = new grpc.Client();`, + }, + vuString: codeBlock{ + code: `client.connect("GRPCBIN_ADDR", {reflect: true})`, + }, + }, { name: "ReflectBadParam", setup: func(tb *httpmultibin.HTTPMultiBin) {