Skip to content

Commit 882e59c

Browse files
committed
allow node:test to resolve paths internally
1 parent 35463ad commit 882e59c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

v-next/hardhat-node-test-runner/src/task-action.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ async function getTestFiles(
2626
config: HardhatConfig,
2727
): Promise<string[]> {
2828
if (testFiles.length !== 0) {
29-
const testFilesAbsolutePaths = testFiles.map((x) =>
30-
resolve(process.cwd(), x),
31-
);
32-
33-
return testFilesAbsolutePaths;
29+
return testFiles;
3430
}
3531

3632
return getAllFilesMatching(

0 commit comments

Comments
 (0)