<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Jest on {O}</title>
    <link>https://omarmakled.com/tags/jest/</link>
    <description>Recent content in Jest on {O}</description>
    <generator>Hugo -- 0.151.1</generator>
    <language>en-us</language>
    <atom:link href="https://omarmakled.com/tags/jest/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Organizing Serverless Code with AWS SAM: Lambda Layers and Testing with Jest</title>
      <link>https://omarmakled.com/posts/sam-jest/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://omarmakled.com/posts/sam-jest/</guid>
      <description>&lt;p&gt;This example demonstrates how to build &lt;strong&gt;clean, testable, and modular serverless applications&lt;/strong&gt; on AWS using &lt;strong&gt;AWS SAM&lt;/strong&gt;, &lt;strong&gt;Lambda Layers&lt;/strong&gt;, and &lt;strong&gt;Jest&lt;/strong&gt;. It focuses on two essential practices for scalable serverless development:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Using &lt;strong&gt;Lambda Layers&lt;/strong&gt; to share code across functions&lt;/li&gt;
&lt;li&gt;Using &lt;strong&gt;Jest&lt;/strong&gt; to properly test each function and its dependencies&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By combining these two patterns, you get a powerful structure that’s maintainable, reusable, and confidently testable.&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&#34;project-overview-shared-logic--layer-for-node-modules--testing&#34;&gt;Project Overview: Shared Logic + Layer for Node Modules + Testing&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;functions/&lt;/code&gt;&lt;/strong&gt; – Your Lambda function handlers:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
