Skip to content

Commit

Permalink
Merge branch 'DanielCifuentes_Back'
Browse files Browse the repository at this point in the history
  • Loading branch information
daercimi committed Aug 12, 2021
2 parents 6a01af2 + 65adf5f commit c874440
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,18 @@ describe("PRUEBAS DEL BACK", () => {
})
})

it("Prueba del comando por default" , function(done){
chai.request(server)
.post("/user",user)
.send({
command:"CUALQUIER_COMANDO"
})
.end(function (err, response){
expect(response).to.have.status(500);
done();
})
})

it("Prueba del comando GET_MY_USER" , function(done){
chai.request(server)
.post("/user-auth",auth,userAuth)
Expand Down

0 comments on commit c874440

Please sign in to comment.