Skip to content

lucfersan/jest-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧪 Tests with Jest

I made a little project to use jest, a new architecture pattern, and some features such as dependency injection.
Explore the docs »

· Report Bug · Request Feature

📚 About The Project

I wanted to get a deeper understanding of some more advanced features, so I decided to build this little project using what I've been learning so far, such as unitary tests with jest, dependency injection, and a better architecture to stop using only MVC.

I know I have a lot to improve, but this it's just a taste of what things I've improved until now.

In this project, I decided to use typeorm, which I find fantastic, because of its simple way to configure, and also because it has a lot of power when combined with typescript.

And to give the code a pattern, I used the VsCode prettier extension.

🧰 Built With

🚀 Installation

  1. Clone the repo
    git clone https://github.com/lucfersan/jest-tests
  2. Install NPM packages
    yarn
  3. Create a docker container
    docker run --name jest-tests -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
  4. Create database named: jest_tests

🤝 Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🗞️ License

Distributed under the MIT License. See LICENSE for more information.

📧 Contact

Lucas Fernandes - fernandes.lucas11@outlook.com

About

I made a little project to use jest, a new architecture pattern, and some features such as dependency injection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors