我正在运行ng测试并获得以下错误
在afterAll TypeError中引发了一个错误:无法读取未定义属性(读取“隐藏”) at SafeSubscriber.( 104.0.5112.81 (Windows10)错误在afterAll TypeError中引发:无法读取未定义属性(读取“隐藏”) at Sa
我使用的酶测试在创建-反应-应用程序。在shallow呈现中,它可以正常工作,但是mount呈现会引发错误:
import React, { ComponentconfigureMockStore from "redux-mock-store";
import { shallow, mount } from "
我有一个名为"HomeContainer“的容器,它向我们显示菜单和用户列表。import PropTypes from 'prop-types';import { connect } from 'react-reduximport React from 'react';import {Provider}