https://github.com/aconstas/jest-testing-practice
Learn TDD (Test Driven Development) utilizing Jest.
https://github.com/aconstas/jest-testing-practice
jest testing the-odin-project
Last synced: 5 months ago
JSON representation
Learn TDD (Test Driven Development) utilizing Jest.
- Host: GitHub
- URL: https://github.com/aconstas/jest-testing-practice
- Owner: aconstas
- Created: 2023-12-04T19:36:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T20:09:48.000Z (over 2 years ago)
- Last Synced: 2024-04-14T13:09:20.846Z (about 2 years ago)
- Topics: jest, testing, the-odin-project
- Language: JavaScript
- Homepage:
- Size: 6.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jest-testing-practice
Learn TDD like I did through [The Odin Project](https://www.theodinproject.com/lessons/node-path-javascript-testing-practice#using-es6-import-statements-with-jest)
### Note:
The current version of Jest, by default, does **not** recognize **ES6 import statements**. If you wish to utilize **ES6 import statements** follow the Jest [documentation](https://jestjs.io/docs/getting-started#using-babel) for using Babel and include the following code in your jest.config.js:
```
module.exports = {
transform: {
'^.+\\.[t|j]sx?$': 'babel-jest',
},
};
```
### Here are some general notes about **testing** that may be helpful:
