Skip to content

Commit

Permalink
Merge pull request #90 from Ghustavh97/debug-worker-pools-pr
Browse files Browse the repository at this point in the history
Fix #89 MacOS Test Timing Out
  • Loading branch information
Ghustavh97 authored Sep 16, 2023
2 parents 721f865 + 241de9e commit 6555915
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 44 deletions.
105 changes: 66 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"lint:fix": "eslint --fix src test ./",
"test:only": "nyc mocha test/main.test.js && mocha test/output.test.js",
"test": "nyc mocha test/main.test.js && mocha test/output.test.js && npm run lint",
"test:cli": "mocha test/src/test.cli.js",
"coverage": "nyc report --reporter=lcovonly"
},
"repository": {
Expand Down Expand Up @@ -43,21 +44,21 @@
"homepage": "https://docs.oslllo.com/svg-fixer/master",
"dependencies": {
"ansi-colors": "^4.1.3",
"cli-progress": "^3.11.2",
"fast-glob": "^3.2.12",
"cli-progress": "^3.12.0",
"fast-glob": "^3.3.1",
"oslllo-potrace": "^2.0.1",
"oslllo-svg2": "^2.0.2",
"oslllo-validator": "^3.1.0",
"piscina": "^4.1.0",
"yargs": "^16.2.0"
},
"devDependencies": {
"chai": "^4.3.6",
"chai": "^4.3.8",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
"fs-extra": "^10.1.0",
"inquirer": "^8.2.4",
"inquirer": "^8.2.6",
"looks-same": "^7.3.0",
"mocha": "^9.2.2",
"mocha-lcov-reporter": "^1.3.0",
Expand Down
1 change: 1 addition & 0 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const options = {
(async () => {
try {
await SVGFixer(source, destination, options).fix();
process.exit(0); // eslint-disable-line no-process-exit, no-magic-numbers
} catch (err) {
console.log("\n" + colors.red("ERR: " + err.message + "\n")); // eslint-disable-line no-console
console.log(colors.yellow("STACK: " + err.stack + "\n")); // eslint-disable-line no-console
Expand Down
2 changes: 1 addition & 1 deletion test/src/test.cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { emptyDir, isEmptyDir } = require(".");
const { exec } = require("child_process");
const { assert, path2 } = require("./helper");

const timeout = 30000;
const timeout = 20000;
var destination = "temp";

if (!fs.existsSync(destination)) {
Expand Down

0 comments on commit 6555915

Please sign in to comment.