Skip to content

Commit ee582c6

Browse files
committed
refactor: update test commands
1 parent 876fbe9 commit ee582c6

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

v-next/core/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
3333
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
3434
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
35-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
36-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
37-
"test:coverage": "c8 --reporter html --reporter text --all --src src --exclude src/types node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
35+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
36+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
37+
"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/**/*.ts\"",
3838
"pretest": "pnpm build",
3939
"build": "tsc --build .",
4040
"prepublishOnly": "pnpm build",

v-next/hardhat-build-system/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2020
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2121
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
22-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
23-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
22+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
23+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
2424
"pretest": "pnpm build",
2525
"build": "tsc --build .",
2626
"prepublishOnly": "pnpm build",

v-next/hardhat-errors/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2222
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2323
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
24-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
25-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
24+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
25+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
2626
"pretest": "pnpm build",
2727
"build": "tsc --build .",
2828
"prepublishOnly": "pnpm build",

v-next/hardhat-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
3535
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
3636
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
37-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
38-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
37+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
38+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
3939
"pretest": "pnpm build",
4040
"build": "tsc --build .",
4141
"prepublishOnly": "pnpm build",

v-next/hardhat-utils/test/package.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describe("package", () => {
7070
const packageJson = await readClosestPackageJson(import.meta.url);
7171

7272
expectTypeOf(packageJson).toEqualTypeOf<PackageJson>();
73-
assert.equal(packageJson.name, "@nomicfoundation/hardhat-utils");
73+
assert.equal(packageJson.name, "@ignored/hardhat-vnext-utils");
7474
});
7575

7676
it("Should read the closest package.json relative to a file", async () => {

v-next/hardhat-zod-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
2222
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
2323
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
24-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
25-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
24+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
25+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
2626
"pretest": "pnpm build",
2727
"build": "tsc --build .",
2828
"prepublishOnly": "pnpm build",

v-next/hardhat/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"lint:fix": "pnpm prettier --write && pnpm eslint --fix",
3636
"eslint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
3737
"prettier": "prettier \"**/*.{ts,js,md,json}\"",
38-
"test": "node --import tsx/esm --test --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
39-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
38+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
39+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
4040
"pretest": "pnpm build",
4141
"build": "tsc --build .",
4242
"prepublishOnly": "pnpm build",

v-next/hardhat/test/internal/cli/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ describe("main", function () {
221221
lines = msg;
222222
});
223223

224-
const expected = `Hardhat version 3.0.0
224+
const expected = `Hardhat version 1.0.0
225225
226226
Usage: hardhat [GLOBAL OPTIONS] <TASK> [SUBTASK] [TASK OPTIONS] [--] [TASK ARGUMENTS]
227227

v-next/template-package/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=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
27-
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@nomicfoundation/hardhat-node-test-reporter \"test/**/*.ts\"",
26+
"test": "node --import tsx/esm --test --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
27+
"test:only": "node --import tsx/esm --test --test-only --test-reporter=@ignored/hardhat-vnext-node-test-reporter \"test/**/*.ts\"",
2828
"pretest": "pnpm build",
2929
"build": "tsc --build .",
3030
"prepublishOnly": "pnpm build",

0 commit comments

Comments
 (0)