Skip to content

mkgy/testing-with-jest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing with Jest

This repository is dedicated to showcase the capabilities of Jest framework for implementing unit tests for Javascript code. Jest provides a simple and efficient way to write unit tests, ensuring its reliability and correctness.

Features

Unit Testing with Jest: Explore examples of how to structure and write your tests effectively.

GitHub Actions Workflow: This demo includes a GitHub Actions workflow to automate the testing process. Each push to the repository triggers a set of tests to ensure that your codebase remains in a reliable state. Check out the .github/workflows directory for the workflow configuration.

Getting Started

  • Clone the Repository:
git clone https://github.com/nora-weisser/testing-with-jest.git
  • Install Dependencies:
cd testing-with-jest
npm install
  • Running Tests To run the test suite, use the following command:
npm test

You can customize the test execution by modifying the Jest configuration in the jest.config.js file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published