我正在试着熟悉JEST,所以我意识到我可能在这里越轨了…但是我想写一个测试来验证我的索引页面的标题,我引用了这个文档:https://jestjs.io/docs/en/tutorial-jquery下面是测试结果: import 'whatwg-fetch' //Set up our document body - this
is not signed in', () => { beforeEach(() => jest.resetAllMockslinkElement = getByText(/Login/i); expect(linkElement).toBeInTheDocument();})
我遇到的问题是,我希望在运行第二个测试时有加载器我想知道为什么在第二个<em