---
title: "ِAya Nabil Othman (@AyaNabilOthman) | Hashnode"
description: "JavaScript Developer. Read the latest articles by ِAya Nabil Othman on Hashnode."
url: "https://hashnode.com/@AyaNabilOthman"
---

@AyaNabilOthman

# ِAya Nabil Othman

@AyaNabilOthman · Joined December 2022

JavaScript Developer

### [How to Handle Side Effects in Jest – A Guide to Effective Mocking](https://freecodecamp.org/news/how-to-handle-side-effects-in-jest?utm_source=hashnode&utm_medium=feed)

Unit testing is a major topic for every developer. It is a fundamental practice in building software applications. Unit testing helps you to identify bugs early and makes code maintenance easier. By isolating and testing single units or components of...

12 min read · [freecodecamp.org](https://freecodecamp.org/news/how-to-handle-side-effects-in-jest?utm_source=hashnode&utm_medium=feed)

[Sep 16, 2024](https://hashnode.com/posts/how-to-handle-side-effects-in-jest/66e89d0c848b849d734302b0)

### [Configure Jest to use it with NodeJS ECMAScript Modules](https://ayanabilothman.hashnode.dev/configure-jest-to-use-it-with-nodejs-ecmascript-modules?utm_source=hashnode&utm_medium=feed)

Initialize your application: npm init To use ES modules, add type: "module" to package.json file. Install Jest npm i jest Initialize Jest npm init jest@latest In jest.config.mjs file: de-comment transform key and assign it a value like tr...

1 min read · [ayanabilothman.hashnode.dev](https://ayanabilothman.hashnode.dev/configure-jest-to-use-it-with-nodejs-ecmascript-modules?utm_source=hashnode&utm_medium=feed)

[Sep 11, 2024](https://hashnode.com/posts/configure-jest-to-use-it-with-nodejs-ecmascript-modules/66e13a94f0abc173771dc72a)

### [How to Write Cleaner Code Using Mongoose Schemas](https://freecodecamp.org/news/how-to-write-cleaner-code-using-mongoose-schemas?utm_source=hashnode&utm_medium=feed)

If you are used to building NodeJS applications using the Mongoose ORM, this article is for you. In it, we'll discuss some cool features of Mongoose schemas that'll help you write more organized and maintainable code. To get the most out of this guid...

11 min read · [freecodecamp.org](https://freecodecamp.org/news/how-to-write-cleaner-code-using-mongoose-schemas?utm_source=hashnode&utm_medium=feed)

[Sep 6, 2024](https://hashnode.com/posts/how-to-write-cleaner-code-using-mongoose-schemas/66db07581905f28bb66717a2)

### [Redis caching with Mongoose](https://ayanabilothman.hashnode.dev/redis-caching-with-mongoose?utm_source=hashnode&utm_medium=feed)

If you are working with NoSQL databases and use the Mongoose package as an ODM to execute the queries on the database. This article is for you. Why caching? Caching is essential in optimizing performance, improving scalability, and enhancing the user...

2 min read · [ayanabilothman.hashnode.dev](https://ayanabilothman.hashnode.dev/redis-caching-with-mongoose?utm_source=hashnode&utm_medium=feed)

[Aug 21, 2023](https://hashnode.com/posts/redis-caching-with-mongoose/64e346d4d8ee669664a1c760)
