Skip to content

Commit 90172fe

Browse files
committed
Fix test and test:only scripts
1 parent 36af93f commit 90172fe

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

Diff for: v-next/core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
3737
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
3838
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
39-
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
40-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
39+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
40+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
4141
"test:coverage": "c8 --reporter html --reporter text --all --src src --exclude src/types node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
4242
"pretest": "pnpm build",
4343
"build": "tsc --build .",

Diff for: v-next/hardhat-build-system/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2424
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2525
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
26-
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
27-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
26+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
27+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
2828
"pretest": "pnpm build",
2929
"build": "tsc --build .",
3030
"prepublishOnly": "pnpm build",

Diff for: v-next/hardhat-errors/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2626
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2727
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
28-
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
29-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
28+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
29+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
3030
"pretest": "pnpm build",
3131
"build": "tsc --build .",
3232
"prepublishOnly": "pnpm build",

Diff for: v-next/hardhat-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
3939
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
4040
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
41-
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
42-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
41+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
42+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
4343
"pretest": "pnpm build",
4444
"build": "tsc --build .",
4545
"prepublishOnly": "pnpm build",

Diff for: v-next/hardhat-zod-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2626
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2727
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
28-
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
29-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
28+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
29+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
3030
"pretest": "pnpm build",
3131
"build": "tsc --build .",
3232
"prepublishOnly": "pnpm build",

Diff for: v-next/hardhat/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
4141
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
4242
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
43-
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
44-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
43+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
44+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
4545
"pretest": "pnpm build",
4646
"build": "tsc --build .",
4747
"prepublishOnly": "pnpm build",

Diff for: v-next/template-package/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2828
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2929
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
30-
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
31-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/!(fixture-projects|helpers)/**/*.ts\"",
30+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
31+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/*.ts\" \"test/!(fixture-projects|helpers)/**/*.ts\"",
3232
"pretest": "pnpm build",
3333
"build": "tsc --build .",
3434
"prepublishOnly": "pnpm build",

0 commit comments

Comments
 (0)