React and Node Js Testing with Jest and Enzyme

Inquire now

Duration: 3 days – 21 hrs.

Overview

This workshop teaches the participants how to design and develop server-side applications using the event-driven, non-blocking model framework Node.js. This program inducts the participant in basic concepts of the JavaScript as well as node.js language 

so that the participant is well equipped to build end-to-end application using Node and React.

 

Objectives

  • Use some custom web applications as well as some already existing application for
  • React Development and testing.
  • Combine both Node js and React mainly focusing on the basic with lots of hands on exercise. 

Audience

  • Developers

 

Pre- requisites 

  • Participants are expected to have a basic understanding of JavaScript


Course Content

What is react?

  • Installation
  • Getting Started
  • Add React to a Website
  • Create a New React App

 

React

  • Hello World
  • Introducing JSX
  • Rendering Elements
  • Components and Props
  • State and Lifecycle
  • Handling Events
  • Conditional Rendering
  • Lists and Keys
  • Forms
  • Lifting State Up
  • Composition vs Inheritance
  • Accessibility
  • Code-Splitting
  • Context
  • Error Boundaries
  • Forwarding Refs
  • Fragments
  • Higher-Order Components
  • Integrating with Other Libraries
  • JSX In Depth
  • Optimizing Performance
  • Portals 
  • Profiler
  • React Without ES6 
  • React Without JSX
  • Reconciliation
  • Refs and the DOM
  • Render Props
  • Static Type Checking
  • Strict Mode
  • Typechecking With PropTypes
  • Uncontrolled Components 
  • Web Components

 

Hooks

  • Introducing Hooks
  • Hooks at a Glance
  • Using the State Hook
  • Using the Effect Hook
  • Rules of Hooks
  • Building Your Own Hooks
  • Hooks API Reference

 

Introduction Typescript

  • Modules
  • Types
  • Interfaces 
  • Functions
  • Classes
  • Implementing Interfaces
  • Describing Constructors Using Interfaces
  • Generics
  • Union Type
  • Intersection Type
  • Type Alias
  • Using External Packages and Their Types
  • Declaration Merging
  • Utility Types

 

How TypeScripts extends JavaScript to add more safety and tooling

  • Primitives
  • Any
  • Literals
  • Union and Intersection Types
  • Unknown and Never
  • Type Primitives
  • Tuples
  • Build-in Utility Types
  • Nullable Types
  • Meta-Types
  • Conditional Types
  • Discriminate Types
  • Indexed Types 
  • Mapped Types
  • Language
  • Soundness
  • Structural Typing
  • Type Guards
  • Type Widening and Narrowing
  • Language Extensions
  • Enums
  • Nominal Typing
  • Types vs Interfaces

 

React with Typescript

  • Introduction
  • Function Components
  • Class Components
  • Higher Order Components – React Redux
  • Higher Order Components – Creating HOCs
  • Render Props
  • Event Handling
  • Introduction to Hooks
  • Hooks: useState
  • Hooks: useEffect

 

Building a demo application using Typescript and React

  • Use everything we have learn to make the application
  • Best practices while using React with Typescript 
  • Debugging Basics

 

Concurrent Mode

  • Introducing Concurrent Mode
  • Suspense for Data Fetching
  • Concurrent UI Patterns
  • Adopting Concurrent Mode
  • Concurrent Mode API Reference


Jest

  • Setting up Jest without create-react-app 
  • Enzyme Introduction and Setup?
  • Using Enzyme in a Test
  • Types of Tests
  • Testing Asynchronous Code
  • Setup and Teardown
  • Mock Functions
  • Jest Platform and Community

 

Jest Guides

  • Snapshot Testing
  • Async Example
  • Timer Mocks
  • Es6 Class Mocks
  • Bypassing Module mocks
  • Using with webpack
  • Using with puppeteer
  • Using with MongoDB and DynamoDB
  • DOM Manipulation
  • Watch Plugins
  • Migration to Jest and Architecture

 

Framework Guides

  • Testing React Apps few demo and few custom made apps
  • Testing React Native Apps and Web Framework
  • In Depth Look in Globals, Expect, Mock Functions, Jest Object and Configuring Jest
  • Jest CLI Options

 

Introduction to Node.js

  • Installing Node.js
  • Node’s Event Loop
  • Alternatives to Node.js
  • Writing asynchronous code


Modularizing code

  • Understanding built-in modules
  • Techniques for modularizing JavaScirpt code
  • Using require() to modularize application code
  • Using npm for third-party modules
  • Handling Exceptions

 

Events and Streams

  • Understanding Events
  • EventEmitter class
  • Understanding Streams
  • Reading and writing streams
  • Using pipe()

 

Accessing Local Resources

  • Process Object
  • Manipulating File System
  • Understanding Buffers

 

Node.js and the web

  • Handling web requests
  • Building a web server
  • Understanding the need for web sockets
  • Realtime interaction using socket.io

 

Node.js Eco System

  • Node Packages
  • Packages of interest
  • Deciding Factors
  • Summary and Conclusion

 

Node.js and the web in detail

  • Handling web requests
  • Building a web server
  • Understanding the need for web sockets
  • Realtime interaction using socket.io

Inquire now

Best selling courses

Duration 3 days – 21 hrs   Overview    This Portfolio Management Training Course is designed to provide banking professionals with a comprehensive understanding of how to effectively manage investment and credit portfolios. Participants will gain insights into strategic allocation, performance measurement, risk management, and optimization of banking portfolios to align with regulatory requirements and...

Duration 2 days – 14 hrs   Overview   This comprehensive Planning and Forecasting Training Course is designed to empower professionals with the tools and techniques necessary to accurately predict future outcomes and develop strategic, operational, and financial plans. The course provides a structured approach to planning and forecasting, integrating both qualitative and quantitative methods....

Duration 3 days – 21 hours   Overview   This Beginner-to-Intermediate PostgreSQL Training Course is designed to build strong foundational skills in PostgreSQL while preparing participants to confidently work with real-world database tasks in modern environments.   Participants will learn how PostgreSQL works, how to write efficient SQL queries, how to design and manage database...

RISK MANAGEMENT

Liquidity Risk Management

Duration 5 days – 35 hrs   Overview.   This Liquidity Risk Management Training Course is tailored for banking professionals in the Philippines, focusing on the skills and knowledge necessary to manage liquidity risk effectively. Participants will learn how to assess liquidity risk, apply regulatory standards, and develop strategies to maintain adequate cash flow and...

Duration 5 days – 35 hrs   Overview    This 5-day advanced training course is designed for senior PMO leaders, program managers, PMO directors, and executives aiming to enhance their leadership capabilities and transform their PMOs into strategic business drivers. The course will explore advanced concepts in PMO strategy, digital transformation, innovation, business case development,...

TRAINOSYS CUSTOMIZED COURSE

Data Analytics from SQL to Power BI

The “Data Analytics from SQL to Power BI” training course is a comprehensive program designed to equip participants with the knowledge and skills necessary to analyze and visualize data using SQL and Power BI. Over the course of five days, participants will learn essential data analytics concepts, master SQL querying techniques for data retrieval and...

Duration 2 days – 14 hrs   Overview   This course provides a comprehensive understanding of the Anti-Money Laundering Act (AMLA) of the Philippines and techniques for identifying and handling counterfeit money. It equips participants with the knowledge to detect suspicious transactions, fulfill AML compliance obligations, and mitigate financial crime risks. Real-world case studies, regulatory...

Duration 2 days – 14 hrs   Overview   This course introduces participants to the principles and tools of data visualization and dashboard design. It focuses on transforming raw data into compelling, clear, and actionable visuals that support decision-making. Participants will explore visualization best practices, storytelling techniques, and hands-on tools (such as Excel, Power BI,...

We use cookies on our website to personalize your experience by storing your preferences and recognizing repeat visits. By clicking “Accept”, you agree to the use of all cookies. You can also select “Cookie Settings” to adjust your preferences and provide more specific consent. Cookie Policy