https://github.com/nora-weisser/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.
https://github.com/nora-weisser/testing-with-jest
github-actions javascript jest unit-testing
Last synced: 5 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/nora-weisser/testing-with-jest
- Owner: nora-weisser
- Created: 2024-01-16T20:55:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-23T07:51:25.000Z (over 2 years ago)
- Last Synced: 2024-01-23T23:33:48.136Z (over 2 years ago)
- Topics: github-actions, javascript, jest, unit-testing
- Language: JavaScript
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
git clone https://github.com/nora-weisser/testing-with-jest.git
```
- Install Dependencies:
```bash
cd testing-with-jest
npm install
```
- Running Tests
To run the test suite, use the following command:
```bash
npm test
```
You can customize the test execution by modifying the Jest configuration in the jest.config.js file.