feat: refs #6321 debug

This commit is contained in:
Javier Segarra 2025-01-31 01:07:39 +01:00
parent 7fdd3d1eb8
commit cd7add3497
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ async function test() {
const JunitReporter = require('jasmine-reporters'); const JunitReporter = require('jasmine-reporters');
runner.addReporter(new JunitReporter.JUnitXmlReporter()); runner.addReporter(new JunitReporter.JUnitXmlReporter());
} }
if (opts.ci || opts.debug) if (opts.ci)
runner.jasmine.DEFAULT_TIMEOUT_INTERVAL = SPEC_TIMEOUT; runner.jasmine.DEFAULT_TIMEOUT_INTERVAL = SPEC_TIMEOUT;
runner.loadConfig(config); runner.loadConfig(config);

View File

@ -113,7 +113,7 @@
"yaml-loader": "^0.5.0" "yaml-loader": "^0.5.0"
}, },
"scripts": { "scripts": {
"test:back": "nodemon -q back/tests.js --config back/nodemonConfig.json --debug", "test:back": "nodemon -q back/tests.js --config back/nodemonConfig.json",
"test:e2e": "node e2e/tests.js", "test:e2e": "node e2e/tests.js",
"test:front": "jest --watch", "test:front": "jest --watch",
"back": "nodemon --inspect -w modules ./node_modules/gulp/bin/gulp.js back", "back": "nodemon --inspect -w modules ./node_modules/gulp/bin/gulp.js back",