Skip to content

Commit

Permalink
chore: consider replacing any usage of any with unknown #59
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr committed Apr 20, 2020
1 parent 0256e53 commit 24d7de3
Show file tree
Hide file tree
Showing 5 changed files with 399 additions and 1,012 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ node_modules/
build/
dist/
jspm_packages/
!/tools
!/tools/**/*.js
**/*.js.map
**/*.js
**/*.d.ts
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-prefer-arrow": "^1.2.0",
"eslint-plugin-prettier": "^3.1.3",
"expect": "^25.3.0",
"expect": "^25.4.0",
"generate-changelog": "^1.8.0",
"husky": "^4.2.5",
"jest": "^25.3.0",
"jest": "^25.4.0",
"jest-mock-extended": "^1.0.8",
"jest-serial-runner": "^1.1.0",
"jest-serial-runner": "file:./tools/jest-serial-runner",
"jest-when": "^2.7.1",
"lint-staged": "^10.1.6",
"mock-spawn": "^0.2.6",
Expand Down Expand Up @@ -138,7 +138,7 @@
"tmp": "~0.1.0",
"ts-type-guards": "~0.6.1",
"typeorm": "~0.2.24",
"yaml": "~1.9.1",
"yaml": "~1.9.2",
"yargs-parser": "~18.1.3"
}
}
11 changes: 11 additions & 0 deletions tools/jest-serial-runner/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const TestRunner = require(`jest-runner`);

class SerialRunner extends TestRunner {
constructor(...attr) {
super(...attr);
this.isSerial = true;
}
}

module.exports = SerialRunner;
5 changes: 5 additions & 0 deletions tools/jest-serial-runner/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "jest-serial-runner",
"version": "2.0.0",
"main": "index.js"
}

0 comments on commit 24d7de3

Please sign in to comment.