Olimpiadas-INET-2024-Escuela-Tecnica-21 / fase1_backend

Should not have unused variables JS-0128
Bug risk
Major
2 occurrences in this check
'product' is assigned a value but never used
20    
21    static async deleteProduct(req, res){
22        try {
23            const product = await productModel.delete(req.params.id)24        } 
25        catch (error) {
26            res.json({msg: error.message})
'TestController' is defined but never used
 1import JWTValidator from "./src/validators/tokens/jwt.validator.js";
 2import TestController from "./src/controllers/testController.js"; 3
 4/**test("Testing controller talks to repository", () => {
 5    console.log("Realizando el test...")