Skip to content

Commit

Permalink
again trying to fix somethin b00tc4mp#209
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosLemonCode committed Sep 21, 2024
1 parent 68166d1 commit 4efcf23
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
13 changes: 7 additions & 6 deletions staff/carlos-fernandez/json-bbdd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@
"description": "",
"main": "",
"scripts": {
"create-user": "node ./interface/create-user.js",
"create-user": "node .interface/create-user.js",
"delete-user": "node ./interface/delete-user.js",
"edit-user": "node ./interface/edit-user.js",
"list-users": "node ./interface/list-users.js",
"show-user": "node ./interface/show-user.js",
"test": "mocha ./test/users",
"test": "mocha ./json-bbdd/test/users",
"test-inspect": "mocha --inspect-brk ./test/users"
},
"keywords": [],
"author": "Carlos Limón",
"license": "ISC",
"dependencies": {
"chai": "4.5.0",
"mocha": "10.7.3"
}
"devDependencies": {
"mocha": "10.7.3",
"chai": "4.5.0"
},
"dependencies": {}
}
18 changes: 13 additions & 5 deletions staff/carlos-fernandez/json-bbdd/test/users/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
require("./create-one.test.js");
require("./delete-one.test.js");
require("./read-all.test.js");
require("./read-one.test.js");
require("./update-by-id.test.js");
const createOneTest = require("./create-one.test.js");
const deleteOneTest = require("./delete-one.test.js");
const readAllTest = require("./read-all.test.js");
const readOneTest = require("./read-one.test.js");
const updateByIdTest = require("./update-by-id.test.js");

module.exports = {
createOneTest,
deleteOneTest,
readAllTest,
readOneTest,
updateByIdTest,
};

0 comments on commit 4efcf23

Please sign in to comment.