<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>mocking on Curtis Timson</title><link>https://hugo.curtiscode.dev/tags/mocking/</link><description>Recent content in mocking on Curtis Timson</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><lastBuildDate>Tue, 14 Aug 2018 17:27:00 +0000</lastBuildDate><atom:link href="https://hugo.curtiscode.dev/tags/mocking/index.xml" rel="self" type="application/rss+xml"/><item><title>ReactJs Snapshot unit testing and mocking components</title><link>https://hugo.curtiscode.dev/post/reactjs/reactjs-jest-snapshot-mocking/</link><pubDate>Tue, 14 Aug 2018 17:27:00 +0000</pubDate><guid>https://hugo.curtiscode.dev/post/reactjs/reactjs-jest-snapshot-mocking/</guid><description>What are Jest Snapshots? Snapshot ReactJs Components Mocking ReactJs Components GitHub Repository What are Jest Snapshots? Jest is a javascript unit testing framework developed by Facebook. This is primarily used with React, however can also be used with other frameworks, such as AngularJs.
Snapshots are a feature of Jest which will record an expected output state of a component.
Capture snapshots of React trees or other serializable values to simplify testing and to analyze how state changes over time.</description></item></channel></rss>