错误:使用Angular测试Apollo客户端

时间:2019-12-31 05:02:23

标签: jasmine apollo apollo-client

我正在发布一个将ApolloTestingModule导入到我的测试床中的信息。当我尝试导入模块时,出现错误:

Chrome 79.0.3945 ERROR
  An error was thrown in afterAll
  ReferenceError: process is not defined
      at Module.../node_modules/graphql/jsutils/instanceOf.mjs 
      at __webpack_require__
      at Module.../node_modules/graphql/type/definition.mjs

任何帮助将不胜感激。谢谢

0 个答案:

没有答案