Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix type tests

Igor Stuzhuk (KoHcoJlb)09719a4ad372
diff --git a/components/graphql/__tests__/type.spec.js b/components/graphql/__tests__/type.spec.js
index 4960a9b4f..50610d2c2 100644
--- a/components/graphql/__tests__/type.spec.js
+++ b/components/graphql/__tests__/type.spec.js
@@ -13,7 +13,7 @@ const factory = (props) =>
mocks: {
$t: (text) => text,
},
- propsData: props,
+ propsData: { gqlTypes: [], ...props },
stubs: ["field"],
})