jest.spyOn(global, "fetch").mockImplementation(setupFetchStub(fakeData)). Then at the end of the test, we want to make sure we undo that ...
確定! 回上一頁