Skip to content

Commit

Permalink
Merge pull request #628 from zeromq/test
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Jun 17, 2024
2 parents 7b365d7 + 69f9ebd commit 46d129d
Show file tree
Hide file tree
Showing 11 changed files with 153 additions and 932 deletions.
13 changes: 3 additions & 10 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
{
"plugins": [
"prettier"
],
"extends": [
"eslint-config-atomic"
],
"plugins": ["prettier"],
"extends": ["eslint-config-atomic"],
"rules": {
"@typescript-eslint/quotes": [
"error",
"double"
],
"@typescript-eslint/quotes": ["error", "double"],
"require-await": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-explicit-any": "off",
Expand Down
9 changes: 2 additions & 7 deletions .mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@
* @type {import('mocha').MochaOptions}
*/
const config = {
require: ["ts-node/register", "rocha"],
spec: [
"test/unit/*-test.ts",
"test/unit/compat/*-test.js",
],
require: ["ts-node/register"],
spec: ["test/unit/*-test.ts", "test/unit/compat/*-test.js"],
"expose-gc": true,
"v8-expose-gc": true,
"experimental-worker": true,
recursive: true,
exit: true,
parallel: true,
}
Expand Down
16 changes: 8 additions & 8 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"recommendations": [
"hbenl.vscode-mocha-test-adapter",
"hbenl.vscode-test-explorer",
"llvm-vs-code-extensions.vscode-clangd",
"xadillax.gyp",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
"recommendations": [
"hbenl.vscode-mocha-test-adapter",
"hbenl.vscode-test-explorer",
"llvm-vs-code-extensions.vscode-clangd",
"xadillax.gyp",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"mochaExplorer.parallel": true,
"mochaExplorer.globImplementation": "vscode"
"mochaExplorer.parallel": true,
"mochaExplorer.globImplementation": "vscode"
}
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Next-generation ZeroMQ bindings for Node.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"type": "commonjs",
"typesVersions": {
">=3.7": {
"lib/*": [
Expand All @@ -26,38 +27,36 @@
},
"devDependencies": {
"@types/chai": "^4.3.16",
"@types/fs-extra": "^9.0.13",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.34",
"@types/node": "^20.14.3",
"@types/proper-lockfile": "^4.1.4",
"@types/semver": "^7.5.8",
"@types/shelljs": "^0.8.15",
"@types/which": "^2.0.2",
"@types/which": "^3.0.4",
"benchmark": "^2.1.4",
"chai": "^4.4.1",
"deasync": "^0.1.30",
"downlevel-dts": "^0.11.0",
"electron-mocha": "^11.0.2",
"electron-mocha": "^12.3.0",
"eslint": "^8",
"eslint-config-atomic": "^1.22.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.1.3",
"execa": "^9.2.0",
"fs-extra": "^10.1.0",
"gh-pages": "^4.0.0",
"fs-extra": "^11.2.0",
"gh-pages": "^6.1.1",
"minify-all-cli": "^1.0.13",
"mocha": "^10.4.0",
"node-gyp": "^10.1.0",
"npm-run-all2": "^6.2.0",
"prebuildify": "^6.0.1",
"prettier": "^2.8.8",
"prettier": "^3.3.2",
"proper-lockfile": "^4.1.2",
"random-words": "^1",
"rocha": "^2.5.10",
"semver": "^7.6.2",
"ts-node": "~10.9.2",
"typedoc": "^0.25.13",
"typescript": "~4.9.5",
"which": "^3.0.1"
"which": "^4.0.0"
},
"pnpm": {
"overrides": {
Expand Down
Loading

0 comments on commit 46d129d

Please sign in to comment.