
Code smell | Hardcoded fake data in tests
this code smell occurs when you see fake data that is needed for tests within the same test file.
My nickname is susomejias and I am a Frontend developer with more than 3 years of experience, on my blog you can find DEV-themed articles, from showing you how to make a cleaner and more maintainable code, recommended configurations for your linter and much more.
this code smell occurs when you see fake data that is needed for tests within the same test file.
This pattern allows you to build search queries using a common interface, which makes the code much more modular and flexible.
This code smell is caused by the abusive use of the switch statements.
This code smell is caused by the abusive use of imports in components, classes or any other type of module of our project.
This code smell can be detect when we use a number that lacks the proper semantics.
This rule of ESLint will help us maintain a standard regarding the ordering and grouping of the imports of our project.