You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe("layout",()=>{it("renders as expected",()=>{consthomeComponent=renderer.create(<Homehome={homeProps(3,3,3).home}/>).toJSON()expect(homeComponent).toMatchSnapshot()console.log(homeComponent)constjsonRep=JSON.stringify(homeComponent)fs.writeFileSync("home-component.json",jsonRep)expect(homeComponent).toMatchSVGSnapshot(620,480)})})
Can't even generate JSON:
● layout › renders as expected
TypeError: Converting circular structure to JSON
at JSON.stringify (<anonymous>)
at Object.it (src/lib/containers/__tests__/file:/Users/orta/dev/projects/artsy/ios/emission/src/lib/containers/__tests__/home-tests.tsx:43:26)
The text was updated successfully, but these errors were encountered:
Can't even generate JSON:
The text was updated successfully, but these errors were encountered: