<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Lineke Kerckhoffs-Willems on Medium]]></title>
        <description><![CDATA[Stories by Lineke Kerckhoffs-Willems on Medium]]></description>
        <link>https://medium.com/@linekekerckhoffswillems?source=rss-ed49f42cba35------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*U6BYi-VMRWuR6O3X.</url>
            <title>Stories by Lineke Kerckhoffs-Willems on Medium</title>
            <link>https://medium.com/@linekekerckhoffswillems?source=rss-ed49f42cba35------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 09:18:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@linekekerckhoffswillems/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Mocking in JavaScript tests with Sinon, Mocha and Jest]]></title>
            <link>https://medium.com/smart-apps/mocking-in-javascript-tests-with-sinon-mocha-and-jest-b08b26918442?source=rss-ed49f42cba35------2</link>
            <guid isPermaLink="false">https://medium.com/p/b08b26918442</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Lineke Kerckhoffs-Willems]]></dc:creator>
            <pubDate>Tue, 24 Jul 2018 12:27:17 GMT</pubDate>
            <atom:updated>2019-10-10T14:38:44.170Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AmS8XNM4YxY8AAm5gL1OgA.jpeg" /></figure><p>Recently I ran into some issues with JavaScript testing in one of our projects. Since I had a hard time figuring out the solution and the internet didn’t help me enough, I thought I’d share my solution in a blogpost. The problem was that I had to mock AJAX calls done with jQuery or the fetch library. In this project we have 2 codebases where we use different frameworks for testing. One uses Jest for testing and jQuery for AJAX calls and the other uses Mocha and Chai for testing and the fetch library for AJAX calls. I will discuss my solutions for both frameworks.</p><p><em>For the full blog. View on </em><a href="https://www.egeniq.com/blog/mocking-javascript-tests-sinon-mocha-and-jest"><em>https://www.egeniq.com/blog/mocking-javascript-tests-sinon-mocha-and-jest</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b08b26918442" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-apps/mocking-in-javascript-tests-with-sinon-mocha-and-jest-b08b26918442">Mocking in JavaScript tests with Sinon, Mocha and Jest</a> was originally published in <a href="https://medium.com/smart-apps">Smart Apps</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>