Skip to content

In this project, a few practical tests have been written for JavaScript functions using the Jest library. The AAA pattern and the TDD approach have been used to make the tests look professional.

Notifications You must be signed in to change notification settings

KIsmoilov/JS-testing-practice-in-jest

Repository files navigation

TO-DO LISTS WEB_APP

  • This is a basic website that allows users to organize their tasks. "To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete.

Built With

  • HTML

  • CSS

  • Javascript

  • Webpack

  • Lighthouse (An open-source, automated tool for improving the quality of web pages. It has audits for performance, accessibility, progressive web apps, SEO and more).

  • Webhint (A customizable linting tool that helps you improve your site's accessibility, speed, cross-browser compatibility, and more by checking your code for best practices and common errors).

  • Stylelint (A mighty, modern linter that helps you avoid errors and enforce conventions in your styles).

Live Demo (if available)

Please use the following link to access the website: https://kismoilov.github.io/to-do-list-project-with-webpack/

Linter Tests

  • npx hint .
  • npx stylelint "**/*.{css,scss}"
  • npx eslint .

Prerequisites

  • Have a local version control like Git. Which is a open source distributed version control system designed for source code management
  • A text editor (e.g Visual Studio Code, Vim, Atom & Sublime.)
  • A web browser (e.g Chrome, Safari, Mozilla Firefox.)
  • Live Server which is a web extension that helps you to live reload feature for dynamic content (PHP, Node.js, ASPNET)
  • Download waves to check project accessibilty

Getting Started

To get a local copy up and running follow these simple example steps.

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo by running the command
     git clone https://github.com/KIsmoilov/to-do-list-project-with-webpack.git
  2. Open the directory of the project
    cd to-do-list-project-with-webpack
  3. Open the directory of the src
    cd src
  4. Open the html file
    Click and open the html file
  5. Please run the following to render on the browser
    npm start

(back to top)

See the open issues for a full list of proposed features (and known issues).

Authors

👤 Khusniddin Ismoilov

🤝 Contributing

  • Contributions, issues, and feature requests are welcome!

  • Feel free to check the issues page.

Show your support

  • Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.

About

In this project, a few practical tests have been written for JavaScript functions using the Jest library. The AAA pattern and the TDD approach have been used to make the tests look professional.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published