Commit 007c6b27 authored by Grover Pinto's avatar Grover Pinto

Clasificacion adicionada

parent b8837144
......@@ -12,8 +12,8 @@
"parchar": "node parches/parchar.js",
"migrar": "sequelize db:migrate --config src/config/config.json --migrations-path src/migrations",
"setup-test": "NODE_ENV=test FORCE=true node index.js && sequelize db:seed:all --config src/config/config.json --env test --seeders-path src/seeders/",
"unit": "npm run setup-test && NODE_ENV=test mocha tests/unit/*.test.js --config tests/.mocharc.js",
"unit-coverage": "npm run setup-test && NODE_ENV=test nyc --reporter html --reporter text mocha tests/unit/*.test.js --config tests/.mocharc.js"
"unit": "npm run setup-test && NODE_ENV=test mocha tests/unit/*.test.js tests/unit/**/*.test.js --config tests/.mocharc.js",
"unit-coverage": "npm run setup-test && NODE_ENV=test nyc --reporter html --reporter text mocha tests/unit/*.test.js tests/unit/**/*.test.js --config tests/.mocharc.js"
},
"keywords": [
"node",
......
......@@ -3,6 +3,7 @@
module.exports = {
diff: true,
require: 'tests/helpers.js',
// require: 'tests/unit/autenticar.test.js',
timeout: 500,
reporter: 'spec',
slow: 75,
......
......@@ -10,11 +10,4 @@ console.log('===========================================================0');
global.app = app;
global.request = supertest(app);
global.expect = chai.expect;
global.assert = chai.assert;
// before(async () => {
// });
// setTimeout(() => {
// console.log('Antes de ejecutar los test');
// }, 2500);
\ No newline at end of file
global.assert = chai.assert;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment