We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35463ad commit 5956f9aCopy full SHA for 5956f9a
v-next/hardhat-node-test-runner/src/task-action.ts
@@ -1,7 +1,6 @@
1
import type { HardhatConfig } from "@ignored/hardhat-vnext/types/config";
2
import type { NewTaskActionFunction } from "@ignored/hardhat-vnext/types/tasks";
3
4
-import { resolve } from "node:path";
5
import { run } from "node:test";
6
import { fileURLToPath } from "node:url";
7
@@ -26,11 +25,7 @@ async function getTestFiles(
26
25
config: HardhatConfig,
27
): Promise<string[]> {
28
if (testFiles.length !== 0) {
29
- const testFilesAbsolutePaths = testFiles.map((x) =>
30
- resolve(process.cwd(), x),
31
- );
32
-
33
- return testFilesAbsolutePaths;
+ return testFiles;
34
}
35
36
return getAllFilesMatching(
0 commit comments