Reactjs 故事快照-无法读取属性';滚动宽度';空的
我想在我的故事快照测试中使用Reactjs 故事快照-无法读取属性';滚动宽度';空的,reactjs,storybook,storyshots,Reactjs,Storybook,Storyshots,我想在我的故事快照测试中使用renderOnly模式,但我在一些故事中遇到了错误 我可以通过添加 createNodeMock: node => document.createElement (node.type) 但现在我正在失去renderOnly
renderOnly
模式,但我在一些故事中遇到了错误
我可以通过添加
createNodeMock: node => document.createElement (node.type)
但现在我正在失去renderOnly